Skip to content

Instantly share code, notes, and snippets.

@sairam
Created July 21, 2012 21:14
Show Gist options
  • Save sairam/3157206 to your computer and use it in GitHub Desktop.
Save sairam/3157206 to your computer and use it in GitHub Desktop.
Download Magazines
# Pragprog monthly editions download script
start_month=7
start_year=2009
m=`expr \`date +%m\` - $start_month + 1`
y=`expr \`date +%Y\` - $start_year`
count=`expr $y \* 12 + $m`
for i in `seq $count`; do wget -c http://pragprog.com/magazines/download/$i.PDF ; done
GNU GPL v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment