Created
November 27, 2015 00:32
-
-
Save brandonmp/9133372d1e51450b1cb0 to your computer and use it in GitHub Desktop.
shell script to resize every image in a directory
This file contains 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
find /path/to/img/dir -type f -exec sh -c ' | |
sudo convert -resize 150% "$0" "$0" | |
' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment