Skip to content

Instantly share code, notes, and snippets.

@wiesson
Created July 29, 2013 20:25
Show Gist options
  • Save wiesson/6107496 to your computer and use it in GitHub Desktop.
Save wiesson/6107496 to your computer and use it in GitHub Desktop.
batch download for consecutively numbered files
for i in {1..31}; do if [ $i -le 9 ] ; then curl -O ##LINK##0$i.pdf ; else curl -O ##LINK##$i.pdf; fi ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment