3 ms·
What I do * curl for any bash scripts * wget for downloading via command line The error codes that curl output make it very powerful when creating a scrip
by mikeytown2 17y ago
What I do
* curl for any bash scripts
* wget for downloading via command line
The error codes that curl output make it very powerful when creating a script. Something that gets run on cron & you want to know why it failed if it did.
Wget is simple, and for a shell it's what I always turn to. The only time I would use wget in a script is if I was making some sort of simple web crawler script.
- sliverstorm 17y agosame here. I use wget to do stuff, and I use curl to do complicated/fancy stuff. One is simple, one is powerful. I'll use simple whenever I can get away with it.