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


Click here to return to the 'curl on multiple files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
curl on multiple files
Authored by: ilovja on Aug 29, '03 08:05:39AM

Just for your information. Curl can do multiple files.

In ~/temp;

curl -O -O -O -O http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/share/misc/{airport,inter.phone,na.phone,zipcodes}

The command above should be entered in one line. After that, you could;

sudo cp * /usr/share/misc

Curl also supports brackets such as 'ftp://ftp.letters.com/file[a-z].txt'. man curl for more info.



[ Reply to This | # ]