for FILE in *.jpg; do echo $FILE; convert -geometry 50% $FILE $FILE; done;
Like this:
Be the first to like this post.
Tags: bash, jpg, pics
This entry was posted on January 5, 2010 at 3:14 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
January 5, 2010 at 12:38 pm |
GET SOME QUOTED VARIABLES UP IN THERE!
…and switch to using mogrify for in-place changes, specifying the filename twice is silly.