I usually use wget
to download remote file, the command I use:
wget --timeout=5 --tries=1 --referer=http://www.example.com 'http://www.example.com/abcdefg123.jpg' -O image.jpg
As you can see, there are 3 options: --timeout
, --tries
, and --referer
.
I wonder what is the proper / equal command in cURL
that has similar options in wget
?
man curl