Question: How do I recursively process, using Imagemagik (convert), a nested directory of photos?
I have the following directory structure:
/
..2008/
....a.jpg
....b.jpg
..2009/
.....c.jpg
And I want to run the following ImageMagik command on each file, to clean/resize up the images, and then save the resulting image out as the exact same filename as the original file. Basically, I want to replace the original file with the generated resized file created.
// from unix command line
convert FILENAME.jpg -resize 100x100 -sharpen 1.5 -strip -profile "*" -sampling-factor 4x1 -quality 80 FILENAME.jpg;