Is it possible to edit image/file numbering?

Started by xor01, October 12, 2012, 12:21:43 PM

Previous topic - Next topic

xor01

Using command line "-r -filenumber"  , exiftool can show the "internal" file number of a file.

example: exiftool -r -filenumber IMG_0115.JPG

Result: File number : 102-7830.

is it possible to edit the file number metadata?
if it is, what is the command line to change it?

I tried -w ,  but doesn't work.

Thanks.

Phil Harvey

The answer depends on what FileNumber tag.  Use the -G option to list the group.  If it is the Composite FileNumber tag, then you need to write the tags from which it is derived (see the Composite Tag Name documentation to find out what these are).  Other FileNumber tags should be directly writable with a command like this:

exiftool -filenumber=100-1234 FILE

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

xor01

Thanks Phil, I manage to edit the "internal" file number of the image using the command line.