Hi. I made a test script to convert all jpeg's in a single folder to a
quality of 85, keeping the same filenames. It worked fine. This is the
script:

#!/bin/sh

for img in `ls *.jpg`
do
   convert $img -quality 85 $img
done

Now, my music folder is organized by artist, then album, then track title
(i.e. Pink Floyd/The Wall/Hey You.mp3). Each folder in this nested structure
also contains album art, named folder.jpg. What I need to do is convert each
'folder.jpg' to a quality of 85. I'm thinking the 'ls' command can't help me
here. Does anyone have any advice to help with my goal?

Any help is appreciated.
Thanks.
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to