I would also add at least "sane default options", "continues downloads" and "retries on error" to the Wget column. I recently had to write a script that downloads a very large file over a somewhat unreliable connection. The common wisdom among the engineers is that you need to use Wget for this job. I tried using curl but out of the box it could not resume or retry the download. I would have to study the manual and s…
> I tried using curl but out of the box it could not resume or retry the download. Maybe I'm misunderstanding, but curl has exactly that feature, it's the `-C` flag. If you want retries, there's `--retry`. I find curls defaults pretty sane, personally, I wouldn't want either of those by default for a tool like curl.
The curl-wget Venn diagram
41–50 of 159 posts
Re: The curl-wget Venn diagram
#42Re: The curl-wget Venn diagram
#43Re: The curl-wget Venn diagram
#44Earlier quoted context omitted.
curl -O https://curl.se/docs/manpage.html#-O
> curl -O Yes. But the GP said by default .
> you would have to do `curl url://to/file.htm > file.htm` or some other, less ergonomical, incantation
… which begs the conclusion that OP is unaware of `-O`.
Re: The curl-wget Venn diagram
#45Daniel Stenberg is among those rare breed of developers who put their heart and soul into their creation, a fading trait in the modern world of big tech that shadowy developers seem to be replaceable cogs of a money-making machine. It's as if he treats curl as his mark on the world of IT.
Re: The curl-wget Venn diagram
#46Daniel Stenberg is among those rare breed of developers who put their heart and soul into their creation, a fading trait in the modern world of big tech that shadowy developers seem to be replaceable cogs of a money-making machine. It's as if he treats curl as his mark on the world of IT.
Re: The curl-wget Venn diagram
#47Earlier quoted context omitted.
> curl -O Yes. But the GP said by default .
No, OP said… > you would have to do `curl url://to/file.htm > file.htm` or some other, less ergonomical, incantation … which begs the conclusion that OP is unaware of `-O`.
Re: The curl-wget Venn diagram
#48I would also add at least "sane default options", "continues downloads" and "retries on error" to the Wget column. I recently had to write a script that downloads a very large file over a somewhat unreliable connection. The common wisdom among the engineers is that you need to use Wget for this job. I tried using curl but out of the box it could not resume or retry the download. I would have to study the manual and s…
Re: The curl-wget Venn diagram
#49Earlier quoted context omitted.
Both tools have their use-cases. I think with the advent of LLMs like ChatGPT it has also become a lot easier to get the proper command line incantation for whatever tool you're using. Even if you've read the manual previously, it's easy to forget the exact flags you want to use, and validating the generated command line is usually less effort than having to build it up yourself from scratch by reading the manual. Wi…
I just look at my curl / wget note for some sane examples. i cant believe one needed chatgpt to be productive
Re: The curl-wget Venn diagram
#50Earlier quoted context omitted.
Both tools have their use-cases. I think with the advent of LLMs like ChatGPT it has also become a lot easier to get the proper command line incantation for whatever tool you're using. Even if you've read the manual previously, it's easy to forget the exact flags you want to use, and validating the generated command line is usually less effort than having to build it up yourself from scratch by reading the manual. Wi…
I just look at my curl / wget note for some sane examples. i cant believe one needed chatgpt to be productive
(Seriously, there's a million nix flags, and only so many brain cells. ChatGPT's better than Google for simple "what's the magic incantation?" searches, and laziness is a virtue. If you don't want to be lazy that's fine, but I think you're missing out).