Am Samstag, 13. Januar 2007 01:08 schrieb Kenneth Schneider:

> I use the following all on one line:
>
> for I in `ls -1 *.JPG`;do convert -resize 640x480 ${I} ${I};echo
> ${I};done
>
> It does overwrite the originals but I only work on copies anyway.

when you overwrite the file anyway why don't you use mogrify?
It overwrites the file by default, so you could use it in shell, without a 
script :)

just:
mogrify -resize 640x480 <filename(or something like *.JPG etc.)>

--
Michael Skiba
GPG-Fingerprint: E9FA 4663 4A31 5D4C 8BCD 813B 707C 1B5B FCE5 399A
[no guaranty for correct GPG-Fingerprints in mails which are signed with the 
key itself..]

Attachment: pgp5Ybvanyp0A.pgp
Description: PGP signature

Reply via email to