RSS

Batch resize images with Ubuntu

25 Jun

Here is an easy way to reduce photos in Linux .. I tried with Ubuntu 10.04 .

Install imagemagick

sudo apt-get install imagemagick

Go to the folder where the images are located,

cd /home/user/Pictures/folder

Now enter the following command.

mkdir resized; for f in *jpg; do convert -resize 30% $f resized/$f; done

Its done, All images will be reduced within a few seconds.

 
Leave a comment

Posted by on June 25, 2011 in Ubuntu

 

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

 
%d bloggers like this: