Wednesday, April 09, 2008

ImageMagick - How to shrink images in batch mode

find . -size +1000k -name \*.png awk '{print $1,$1}' | xargs -n2 convert -scale 1024x\>

1 comment:

Anonymous said...

thanks, that's what I needed, there is one pipe missing before the awk.