Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 11777  / 2 Years ago, mon, october 31, 2022, 8:55:37

How do you download a series of files with wget like so:



http://www.example.com/index.php?file=1
http://www.example.com/index.php?file=2
http://www.example.com/index.php?file=3
...
http://www.example.com/index.php?file=500

More From » wget

 Answers
2

wget supports downloading more than a file with a single command. This means that you can take advantage of your shell features like so:



wget http://www.example.com/index.php?file={1..500}


If your URLs are in a file (one URL per line) or on standard input, you can also use wget's -i option.


[#33210] Tuesday, November 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
;