Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rybesh/118440 to your computer and use it in GitHub Desktop.
Save rybesh/118440 to your computer and use it in GitHub Desktop.
batch convert and resize Internet Archive page images
(for f in $(find . -name "*.jp2"); do convert "$f" -resize 800 -colorspace Gray "${f/%jp2/jpg}"; done && echo "Finished converting `pwd`" | mail -s "Finished `pwd`" ryanshaw@ischool.berkeley.edu) &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment