Last active
December 24, 2015 02:29
-
-
Save cwvhogue/6731441 to your computer and use it in GitHub Desktop.
Command to create PNG thumbnails from JPEG images in the same directory.
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
| time find . -name '*.jpg' -exec sh -c 'convert "{}" -thumbnail 10000@ -strip -quality 95 PNG8:`basename "{}" jpg`png' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment