PDA

View Full Version : [ubuntu] Help with an ImageMagick script cron job.



latitudehopper
September 6th, 2010, 11:40 AM
Hi there,

Could someone please help me with a script.

I have a folder, inside it there are other folders with images.

I want to scan all subdirectories for images that start with 'da' and then create three jpeg versions with different sizes in folders

/1024/
/600/
/250/

so, hourly it will scan the /archive/ folder and its sub-directories and create jpegs with given longest sides and then copy them in to these folders.

Any help would be appreciated. Ideally I would only want to process new images so there isn't a massive churn of work every hour or so. (there are 20,000 mostly TIF images)

Thanks in advance.

J