Small Script to Download Multiple Files in a Sequence

Here’s a small script I wrote to download all fifteen issues of INSECURE magazine. You can easily adapt this to download anything you like, magazines, podcasts, etc., as long as they are in a known sequence.
for i in $(seq 1 15)
`wget$i.pdf &`;

To download all episodes of Security Now, just change the end of the sequence to be 131 instead of 15, and change the URL to:$i.mp3
To get all episodes of Pauldotcom Security Weekly, use a high value of 97, and a URL of$i.mp3

Leave a Reply