Skip to content

Instantly share code, notes, and snippets.

@geoffroymontel
Created May 17, 2014 09:53
Show Gist options
  • Save geoffroymontel/46f1cef9ea84dead1d4e to your computer and use it in GitHub Desktop.
Save geoffroymontel/46f1cef9ea84dead1d4e to your computer and use it in GitHub Desktop.
Batch resize images to maximum width or height of 1024px
for i in books.original/*; do convert $i -resize 1024x1024\> books/$(basename $i); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment