3 ms·
`curl -LOf url` is the simplest one I'm aware of that doesn't act too weirdly :) Without `-f`, it'll happily save the 404 error page if you do `curl -LO https:
by ilyagr 2y ago
`curl -LOf url` is the simplest one I'm aware of that doesn't act too weirdly :)
Without `-f`, it'll happily save the 404 error page if you do `curl -LO https://example.com/index.htmll https://example.com/index.htmll`
After playing with `wcurl`, I may or may not remember that one.
Also, wcurl puts a lot of effort into making `wcurl url1 url2` work equally predictably.
Finally, wcurl doesn't yet support `wcurl https://example.com https://example.com` (without a filename at the end of the URL), but it might eventually.