News for hackers. Stuff that matters.
Re:All Hacker Monthly issues free for next ~24 hours by _ques on Friday December 23, 2011 @04:30PM (#3387335)

  for i in `seq -w 19`; do 
  echo "http://hackermonthly.com/xmas/hackermonthly-issue0"$i".zip"; 
  done | xargs wget
Re:All Hacker Monthly issues free for next ~24 hours by sciurus on Friday December 23, 2011 @05:11PM (#3387448)
The loop can be replaced with bash's brace expansion (http://www.gnu.org/software/bash/manual/bashref.html#Brace-E...), e.g.

    wget http://hackermonthly.com/xmas/hackermonthly-issue0{01..19}.zip
Re:All Hacker Monthly issues free for next ~24 hours by dorkitude on Friday December 23, 2011 @05:24PM (#3387479)
Wow, never knew about that. Due to zero-padding, I found I actually needed two commands for this to work properly:

    http://hackermonthly.com/xmas/hackermonthly-issue00{1..9}.zip
    http://hackermonthly.com/xmas/hackermonthly-issue0{10..19}.zip
Re:All Hacker Monthly issues free for next ~24 hours by rbonvall on Friday December 23, 2011 @06:30PM (#3387608)
Bash is smart:

    $ 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 20
Re:All Hacker Monthly issues free for next ~24 hours by eurleif on Friday December 23, 2011 @06:47PM (#3387640)
Bash 4 is smart. Bash 3 isn't.
Re:All Hacker Monthly issues free for next ~24 hours by ryanbraganza on Friday December 23, 2011 @05:58PM (#3387550)
Re:All Hacker Monthly issues free for next ~24 hours by jacquesm on Friday December 23, 2011 @04:53PM (#3387395)
Good deeds rarely go unpunished.

Thank you Lim Cheng Soon, that was very generous of you.

Merry Christmas to you too!

Re:All Hacker Monthly issues free for next ~24 hours by bearwithclaws on Friday December 23, 2011 @07:33PM (#3387741)
Happy Christmas, Jacques!
Re:All Hacker Monthly issues free for next ~24 hours by DannyPage on Friday December 23, 2011 @04:38PM (#3387358)
Thanks for this!

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!)

Re:All Hacker Monthly issues free for next ~24 hours by sublimepua on Friday December 23, 2011 @04:41PM (#3387370)
The download links of the page seem irregular, so I was trying to make a list. It looks like he kept all issues ordered on the server under another name though, one that fits this format.
Re:All Hacker Monthly issues free for next ~24 hours by philfreo on Friday December 23, 2011 @04:40PM (#3387366)
In parallel:

    for i in `seq -w 19`; do 
      wget "http://hackermonthly.com/xmas/hackermonthly-issue0"$i".zip" &
    done
    wait
Re:All Hacker Monthly issues free for next ~24 hours by davvid on Saturday December 24, 2011 @04:29AM (#3388624)
Let's not forget GNU parallel, that would be naughty ;-)

    seq -w 19 |
    parallel wget http://hackermonthly.com/xmas/hackermonthly-issue0{}.zip
;-)
Re:All Hacker Monthly issues free for next ~24 hours by sublimepua on Friday December 23, 2011 @04:42PM (#3387375)
this guy's servers must be crying.
Re:All Hacker Monthly issues free for next ~24 hours by Dobbs on Friday December 23, 2011 @04:56PM (#3387404)
Re:All Hacker Monthly issues free for next ~24 hours by anthonyb on Friday December 23, 2011 @07:44PM (#3387765)
Don't download in parallel! No wonder his servers are crawling...

No good deed goes unpunished, indeed.