Answer the question
In order to leave comments, you need to log in
How to rename files in directories and subdirectories with Imagemagick?
It's not a problem to rename according to a template in a directory, but if I do it according to directories and subdirectories, then I can't rename it. I do so
find /путь/ -type f -iname \*.jpg -exec convert -quality 75 '{}' \;
Answer the question
In order to leave comments, you need to log in
1 if you need to do what I think, then it's much easier for you to use the recommended converter.
or
and run
Your option, by the way, I don't see any "rename files" here
find /путь/ -type f -regex ".*\(jpg\|jpeg\|JPG\|JPEG\)" -exec convert -quality 75 {} \;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question