03 Aug

Download Multiple Files with Wget

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]

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:

    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.

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

Leave a Reply

Your email address will not be published. Required fields are marked *