Modified bash script to rename photos based on EXIF data

I found a script written by Todd Slater to rename a directory full of photos, and I wanted to use it to rename all my pictures to look like this 20060405-001.jpg, etc.  The only problem was that my shared webhost did not have exif installed.  I took a few minutes and modified the script to use jhead to get the EXIF data instead.  It was a very simple change to make, but in case anybody is interested I thought I would put it up here (renamer.txt).

3 thoughts on “Modified bash script to rename photos based on EXIF data

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s