Batch resize of images using ImageMagick

Find any file which is a “jpg”, resize by 30%, and save in the resized directory:

find . -maxdepth 1 -name "*.jpg" -exec convert {} -resize 30% resized/{} ;

Author | Miles Davenport

Career programmer, who designs, assembles, fixes, and supports customers, software and systems.