resizing images
Wednesday, May 3, 2006 9:38:23 AM
I know that I know nothing.
And I especially know that I always forget `imagemagick`s command line options :( So here is a tagged remedy:
And to rename based on exif tags:
And I especially know that I always forget `imagemagick`s command line options :( So here is a tagged remedy:
for f in `ls *JPG`; do echo $f; convert -resize 800x800 $f $f; done
And to rename based on exif tags:
for f in `ls *.JPG`; do echo $f; create_date=""; create_date=`exiftime "$f" 2>&1 | grep -i image\ created | cut -d" " -f3 | sed -e 's/:/-/g'`;if [ "$create_date" != "" ];then echo $create_date;fi;done

