>> |
Anonymous
imagemagick. for f in *.jpg; do mogrify -resize 50% $f; done
to resize pics in place or for example
mkdir thumbs; a=0; for f in $(find ~/pics/ -name "*.jpg"); do convert -resize x200 $f "thumbs/${a}"; ((++a)); done
to create 200 px (vertical) thumbnails of all the images in the ~/pics directory and put them in a new dir called thumbs.
|