for i in `seq -w 19`; do
echo "http://hackermonthly.com/xmas/hackermonthly-issue0"$i".zip";
done | xargs wget for i in `seq -w 19`; do
echo "http://hackermonthly.com/xmas/hackermonthly-issue0"$i".zip";
done | xargs wget wget http://hackermonthly.com/xmas/hackermonthly-issue0{01..19}.zip http://hackermonthly.com/xmas/hackermonthly-issue00{1..9}.zip
http://hackermonthly.com/xmas/hackermonthly-issue0{10..19}.zip $ echo {01..20}
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
$ echo {1..20}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20Thank you Lim Cheng Soon, that was very generous of you.
Merry Christmas to you too!
Considering how quickly it took someone to write a script to download them all (It is "Hacker" News, after all), I don't know why they didn't just release them all in one Zip file anyway.
Or maybe someone could put a torrent together, given how much they are getting hammered. (2 hours for a 15.6 MB file, yikes!)
for i in `seq -w 19`; do
wget "http://hackermonthly.com/xmas/hackermonthly-issue0"$i".zip" &
done
waitNo good deed goes unpunished, indeed.
seq -w 19 |
parallel wget http://hackermonthly.com/xmas/hackermonthly-issue0{}.zip
;-)