applies to: linux, find, xargs, convert, image processing
'
convert' command, which is a part of ImageMagick package can be used for image resizing, but it lacks ability to process multiple files (in version of ImageMagick 6.5.7-8 2010-12-02). Instead of writing a shell script you can use
find and
xargs commands to collect filenames and invoke convert with one filename at a time, like this:
Code:
find -iname "*.jpg" -printf "%f\0" \
| xargs -0 -I {} convert
...