13 Jan
2007
13 Jan
'07
00:41
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