How To Resize images with command line

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/{} \;

This command resize all photos in a certain directory thats end with JPG (or jpg) and resize it to 50% of his original size.

To use this command go to the directory where you stored your pictures. Create a subdirectory named resized.

mkdir resized

Post new comment
The content of this field is kept private and will not be shown publicly.
Deze vraag is om te controleren of u een persoon bent. Di is om spam berichten tegen te gaan.