by _ques · 14y ago · 0 comments
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}.zipThank 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
wait seq -w 19 |
parallel wget http://hackermonthly.com/xmas/hackermonthly-issue0{}.zip
;-)No good deed goes unpunished, indeed.