Last active
August 22, 2017 17:22
-
-
Save antelle/8274220bd473eb84b4ab to your computer and use it in GitHub Desktop.
Batch resize with imagemagick
This file contains hidden or 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
for f in *.JPG *.jpg; do convert "$f" -resize "1200x1200>" -quality 85 -verbose "$f"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment