Using CURL with list of urls

Unix command CURL  is used to transfer from to and from any remote server. A basic Curl command to download a file is :

curl http://www.thetechhub.com

In case you to download multiple files with Curl, the syntax is :

xargs curl -I < urllist.txt

where content of urllist.txt is something like below :

http://www.thetechhub.com/file2.txt
http://www.thetechhub.com/file3.txt 
http://www.thetechhub.com/file4.txt

0 Comments:

Post a Comment