Resize photos in a directory
Posted on 2009-06-28
I have a Virtual Private server that, through a script, gets a number of photos placed on it. The script pulls the photos from an email attachment.
Recently, the size of the photos has increased dramatically, from 250k each to over 800K each.
I would like to know if there is a linux command line that I could use (via cron pref.) to look in the directory and resize all photos over 450k to a lesser quality (10 to 8) or even a smaller size (1050x1500 to 400x1000)??