Created
November 15, 2010 07:49
-
-
Save aravindavk/700141 to your computer and use it in GitHub Desktop.
Udayavani Deepavali visheshanka download script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Cover page | |
wget "http://74.127.61.106/epaper/Deepavali_Visheshanka/Deepa_2010_Cover.pdf" | |
# all pages | |
i=3 | |
while [ $i -lt 308 ] | |
do | |
start=`printf "%03d" $i` | |
end=`expr $i + 15` | |
end=`printf "%03d" $end` | |
wget "http://74.127.61.106/epaper/Deepavali_Visheshanka/Deepavali $start-$end.pdf" | |
i=`expr $i + 16` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment