shrink my pics.sh

for FILE in *.jpg; do echo $FILE; convert -geometry 50% $FILE $FILE; done;

Tags: , ,

One Response to “shrink my pics.sh”

  1. blasdelf Says:

    GET SOME QUOTED VARIABLES UP IN THERE!

    …and switch to using mogrify for in-place changes, specifying the filename twice is silly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.