ExifTool Forum

ExifTool => Newbies => Topic started by: pepete on May 27, 2013, 04:37:57 PM

Title: Offset for FileNumber
Post by: pepete on May 27, 2013, 04:37:57 PM
Hello together,

I am searching for a possibility to add an offset to the filenumber to rename my files but I could not find a way to do this.

Thank you and best regards,

Peter
Title: Re: Offset for FileNumber
Post by: Phil Harvey on May 27, 2013, 08:34:38 PM
Hi Peter,

If you are talking about the Canon FileNumber, it is a Composite tag derived from DirectoryIndex and FileIndex.  To add an offset to FileIndex, use this command:

exiftool -fileindex+=21 image.jpg

- Phil
Title: Re: Offset for FileNumber
Post by: pepete on May 28, 2013, 02:10:35 AM
Hey Phil,

thank you for your help. In my case it is a Nikon D5100, but this helps me. I can now just update the filenumber and then rename the files with the updated filenumber!

Thank you,

Peter