Skip to content

Instantly share code, notes, and snippets.

@vamdt vamdt/resize.sh
Created Dec 15, 2014

Embed
What would you like to do?
# find all png-suffix images in current dir and sub dirs.
# use sips resize image size to 262 * 82
# and make their name to *.small.png
find . -type f -name "*.png" -exec sips -z 82 262 '{}' --out '{}'.small.png ';'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.