Another question from a newbie linux scripter. I'm trying to batch mogrify all the files in a folder using this command
find -name "*.jpg" -exec mogrify -resize 320 -quality 75 {} \;
The command runs but nothing seems to happen.
Thanks in advance
Sorry all but this was just user error. I was not in the correct folder when testing. The command actually does work.
Try
find -name "*.jpg" -print
to see what files match; this may help diagnose if the problem is with mogrify or with find.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With