Wget can be used to download multiple files with just one command
wget -c "http://example.com/file[1-9].htm"
[tags]wget,download,multiple,series,linux,command,cli[/tags]
Byte sized tech know-how.
Wget can be used to download multiple files with just one command
wget -c "http://example.com/file[1-9].htm"
[tags]wget,download,multiple,series,linux,command,cli[/tags]
Copyright © 2024 Txt
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:
http://someserver.myfirstfile.md5
ftp://someserver.myfirstfile.extn
ftp://someotheserver.mysecondfile.extn
http://anynewserver.mythirdfile.extn
save and exit the editor. If you did save the file as /tmp/download.txt, type the wget command in a terminal as follows:
wget -c -i /tmp/download.txt
-c argument is to resume a partial download. -i argument is to download all the files pointed in the referred file.
hope this helps.
quote from my output: “Warning: wildcards not supported in HTTP.” Unless I’m doing something wrong the above command doesn’t work.
Thanks!
At the moment this works fine when downloading tons of pdfs’
the -i argument is also brilliant