Created
January 22, 2013 15:29
-
-
Save jc3wmdev/4595509 to your computer and use it in GitHub Desktop.
find all photos in current directory and resize them.
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
find . -maxdepth 1 -type f -iname "*.jpg" -print0 | xargs -0 -I {} convert {} -resize 1900 resized/{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
exiftool -if '$Rating eq 5' *.JPG -p '$FileName' | while read filename; do convert ${filename} -resize 1900 ~/pics/aaron/${filename} ; don