To handle the manage the amounts of images we seem to be producing on our trips, I created a few simple scripts to do a few tasks that I found myself doing constantly.
Renaming
As Canons files are name IMG_XXXX.JPG, where XXXX is a one up number, and everytime you start a new folder (good for a new place) on the 450D, it starts from 1, you end up with quite a few duplicate names. To get around this, I add the folder identifier to the name using this simple bash script. The script can also make web-ready versions of the image, but I now use the next script for that.
|
|
Resizing
I currently keep a directory of copied web-ready images so that it can synced with the server holding my blog whenever I get a chance. This script will create web-ready images for any new images it finds. One thing I do need to do to it is make it so it will update the photo if it has been modified.
|
|