Skip to content

Instantly share code, notes, and snippets.

@jc3wmdev
Created January 22, 2013 15:29
Show Gist options
  • Save jc3wmdev/4595509 to your computer and use it in GitHub Desktop.
Save jc3wmdev/4595509 to your computer and use it in GitHub Desktop.
find all photos in current directory and resize them.
find . -maxdepth 1 -type f -iname "*.jpg" -print0 | xargs -0 -I {} convert {} -resize 1900 resized/{}
@jc3wmdev
Copy link
Author

exiftool -if '$Rating eq 5' *.JPG -p '$FileName' | while read filename; do convert ${filename} -resize 1900 ~/pics/aaron/${filename} ; don

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment