Quantcast
Viewing all articles
Browse latest Browse all 4349

wget a list of files

Pro tip: if you have a list of files that you need to retrieve from a webserver, you’re better off putting the list of URIs in a file, and then:

wget -i list-of-files.txt

than you are crafting a shell script like:

wget http://www.example.com/file-number-1.jpg
wget http://www.example.com/file-number-2.jpg
wget http://www.example.com/file-number-3.jpg

The former works much, much faster.


Viewing all articles
Browse latest Browse all 4349

Trending Articles