I'm running the following command:
mogrify -resize '400x400>' *.png
According to the docs, the "widthxheight>" geometry (with > at the end) "Shrinks an image with dimension(s) larger than the corresponding width and/or height argument(s)."
I expect the images with width/height less than 400x400 to be untouched, but mogrify rewrites the file for no reason―the modification date and file size are changed.
Is there a way to make it actually just leave the smaller images alone? I'd like to avoid several thousand unnecessary write operations.