a few notes on Curl to download a file

Want to quick download a file using Curl?

1. note about -o and -O
use -o if you want to manually specify local file to be created
use -O if you just curl to parse the remote URL and use the file name for local file creation.

2. use -L to follow redirects as by default curl does not follow redirects but wget does.

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × five =