Project

General

Profile

Renaming using Nikon3 MakerNote Tag - ShutterCount

Added by Arjh Smith almost 12 years ago

I would like to be able to rename all of the files as they're being downloaded onto my PC to the ShutterCount that is available in the Nikon MakerNote fields...

I've seen this example that uses date fields as the renaming scheme. exiv2 -F -r abcd_%Y%m%d_%H%M%S *.jpg *.jpeg

Can someone show me how I could use The SutterCount / Serial Number to rename my Raw and JPG files?

0x00a7 167 Makernote Exif.Nikon3.ShutterCount Long Number of shots taken by camera
0x00a0 160 Makernote Exif.Nikon3.SerialNO Ascii Camera serial number, usually starts with "NO= "
0x001d 29 Makernote Exif.Nikon3.SerialNumber Ascii Serial Number

Thanks in advance !

HSP


Replies (2)

RE: Renaming using Nikon3 MakerNote Tag - ShutterCount - Added by Andreas Huggel almost 12 years ago

There is currently no convenient way to do this with the exiv2 utility alone. You'd have to write a small script around it. (I could help with the Linux commands for that, but not for Windows).

OTOH, Brad's organize program may actually be better suited for what you're doing, have you had a look at that? If it doesn't have support for shuttercount or serial number, we should be able to add that quite easily.

Andreas

RE: Renaming using Nikon3 MakerNote Tag - ShutterCount - Added by Arjh Smith almost 12 years ago

Thanks Andreas,

I will check out Brad's "organize" program.

More info on my workflow ...............

I have several cameras of the same make and model ( D2Hs, D700 even Kodak DCS14n)

Is there a way to modify the three Date Fields by adding or subtracting a set amount of time in
Years_Months_Days_Hours_Minutes_Seconds_Subseconds and apply it to a file, set or a folder.

Currently MS Expression does that but we've stopped using that and gone to LightRoom.

Second thing we would like and used to do with a mini utility is to be able to Rename our files for backup purposes using ShutterCount and SerialNumber as part of the naming convention.

We maintain a database of images and this would automate the entries made during image uploads.

Project X was shot with Camera Y with ShutterCount Range from A to B and from TimeDate C to D

The files are placed on a "backup-HDD" in choronologial order. Like this:

YearMonthDay_Model_SerialNumber_ShutterCountLowest-ShutterCountHighest

20091210 D700 393878 0032323-0032767
20091210 D700 393878 0032770-0033757
20091210 D700 393975 0172311-0172709
.
.
Just to have every image ever taken by our cameras easily available in one place. These files are direct from the Camera with Zero Changes to maintain integrity. The images are placed on the server with ReadOnly Status and no user should be able to erase them "accidentally"

Can someone show me how I could use The ShutterCount / Serial Number
to rename my Raw and JPG files from exiv2 Windows utility please?

Any info to guide me on this would be so much appreciated !

    (1-2/2)