How To Resize images with command line

Photo-Edit-Logo.png

If you want to resize your photos it's simple to use resize tool in gThumb. Unfortunately gThumb deletes all the EXIF data like date and time the photo was taken.

To keep all EXIF data I use convert (from imagemagic)

find ./ -iname *.JPG" -maxdepth 0 -exec convert {} -resize 50% ./resized/{} \;

How To Resize multiply images to prefered size

Photo-Edit-Logo.png

If you want to resize multiply images to a other (smaller) size you can use this command.

It's not recommend to enlarge pictures because that will have a negative effect on the quality of the enlarged image.

time find ./ -maxdepth 1 -iname '*.jpg' -exec convert '{}' -resize 500 '../big/{}' \;

* time: gives you the time the command was busy. This is optional.