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.

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:

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!