Last active
August 29, 2015 14:16
-
-
Save danielchatfield/0a3347d7fe0c2e27f8f5 to your computer and use it in GitHub Desktop.
Download pastpapers
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
PPROOT="http://www.cl.cam.ac.uk/teaching/exams/pastpapers/" | |
for year in $(seq 2000 2009 $end); do \ | |
for paper in $(seq 3 6 $end); do \ | |
download ${PPROOT}y${year}PAPER${paper}.pdf; \ | |
for question in $(seq 12); do \ | |
download ${PPROOT}y${year}p${paper}q${question}.pdf; \ | |
done; \ | |
done; \ | |
done; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment