Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


curl -O | 12 comments | Create New Account
Click here to return to the 'curl -O' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
curl -O
Authored by: faisal on Sep 27, '01 06:52:02PM

wget downloads the file to disk with the same name

curl spews the file to STDOUT (into the terminal, unless you redirect it onto another file), but there are options to dump it to file like wget:

curl -O [url]

will do the same thing as

wget [url]

I put the following line into my .cshrc file:

alias wget curl -O

which lets me use directions off stepwise which say to wget something without having to remember to use curl instead.



[ Reply to This | # ]
curl -O
Authored by: Anonymous on Sep 30, '01 09:09:30PM

If you haven't upgraded yet the easiest way to save wget is to copy
wget to another directory. I copied mine to my ~/bin directory so
it is still functional.



[ Reply to This | # ]
curl -O
Authored by: moyashi on Sep 30, '01 09:47:40PM

where is the directory for the alias to be set ???

err ... don't want to put it somewhere it doesn't belong.

actually, using curl -O is not that bad, I like the information it provides vs. wget...

appreciate the help



[ Reply to This | # ]