Skip to content

Instantly share code, notes, and snippets.

@danielchatfield
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielchatfield/0a3347d7fe0c2e27f8f5 to your computer and use it in GitHub Desktop.
Save danielchatfield/0a3347d7fe0c2e27f8f5 to your computer and use it in GitHub Desktop.
Download pastpapers
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