cURL / Mailing Lists / curl-users / Single Mail

curl-users

-O option

From: Jason Mancini <jmancini_at_pa.dec.com>
Date: 04 Dec 2001 15:15:02 -0800

Some feedback:

Say you have a list of FTP addresses to download in a file
named "ftp-list.txt".

$ cat ftp-list.txt | xargs curl -O -O -O [...]

Curl _needs_ an "-Oalways" flag -- all addresses
on the command line use the base filename to store
locally. Else a script must precount the # of URLs,
construct the proper number of "-O"s...

The re-use connection feature is very cool!

/Jason
Received on 2001-12-05