[magick-users] Trimming files in subdirectories
Anna Choma
anchom at wp.pl
Fri May 30 12:45:24 PDT 2008
Hello,
I have problems with trimming jpg files. They are stored in
subsubdirectories and I would like to trim them in one click. I use
such command
convert */*/*.jpg -fuzz 10% -trim +repage *.jpg
I don't know how to tell convert to gest inside each of the
subsubdirectory, convert the file (or mogrify, but with mogrify the
whole operation doesn't work) and make a copy of the original files or
overwrite the originals (so I tried with mogrify).
Does anybody know how to do it? I think I should use regular
expression, but unfortunately I am not so advanced user of Linux.
Thanks in advance,
Best regards,
Anna
More information about the Magick-users
mailing list