Wget can be used to download multiple files with just one command


wget -c "http://example.com/file[1-9].htm"


Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

## 4 thoughts on “Download Multiple Files with Wget”

1. Binny,

There is an easy way to assign multiple downloads with wget. Just open any text editor and create a .txt file. Place the multiple URL’s, you want to download one by one in it.

example:

save and exit the editor. If you did save the file as /tmp/download.txt, type the wget command in a terminal as follows:

-c argument is to resume a partial download. -i argument is to download all the files pointed in the referred file.

hope this helps.

2. Neovos says:

quote from my output: “Warning: wildcards not supported in HTTP.” Unless I’m doing something wrong the above command doesn’t work.

3. Worker says:

Thanks!
At the moment this works fine when downloading tons of pdfs’

4. Worker says:

the -i argument is also brilliant