EXIF Renaming

Morning scripters!

I recently went on a holiday that produced about three hundred photos from
three different people's cameras (2 Olympus and 1 Nikon). We wanted to
create a single DVD containing all the images sorted by the date that they
were shot in. I know the PSP browser can sort by the exif date stamp, but
the batch-rename utility can't use the exif original-timestamp as part of
the filename, nor can it export any sort of list including the timestamps.

To make matters worse, we forgot to synchronise the clocks on the cameras at
the beginning of the holiday.

So, after much trawling of the web, I decided to write a PSP script (or
rather two scripts) to perform the rename task.

To use it, bring up the browser (or organizer for you corel users) and
select all the photos from one camera. Next select and run the "Exif
Rename" script. This pops up a dialog box that asks you to enter a clock
offset (hours, minutes and seconds). The offset can be positive or
negative. If you don't need an offset, leave the default of 0:0:0. When
you click OK, the script passes the set of selected files to the
batch-process engine. When the batch-process dialog box pops up, just click
"Start" and renaming will take place. When the script completes, press the
F5 key to refresh the thumbnails to show the new names. Repeat this process
for the other cameras. The files should now sort correctly by name.

The renaming takes filename "DSCN1234.JPG", shot on July 3rd 2006 at
10:11:12 and changes it to "060703101112-DSCN1234.JPG". The first two
digits of the year are dropped, so if you had a job that spanned the
millennium, tough luck.

Both the scripts need to be put into the Scripts-Trusted folder.

Dave

P.S. I suppose someone is now going to point out that version XI has exif
capability built into batch-rename. If not, maybe it should be added to
XII.

Scripts:
One
Two

After unzipping, you'll note that each is named *.PspScript. As mentioned, the files need to be located in the
My Documents\My PSP Files\Scripts-Trusted folder.

INDEX  NEXT