Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI.
First install imagemagick:
aptitude install imagemagick
Now “cd” into the directory with your images and execute:
mogrify -resize 800x600 *.JPG
All of the images will be replaced with resized version of themselves.
Now i can upload the directory to my gallery.