ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: xor01 on October 12, 2012, 12:21:43 PM

Title: Is it possible to edit image/file numbering?
Post by: xor01 on October 12, 2012, 12:21:43 PM
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.
Title: Re: Is it possible to edit image/file numbering?
Post by: Phil Harvey on October 12, 2012, 01:02:16 PM
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 (https://exiftool.org/TagNames/Composite.html) to find out what these are).  Other FileNumber tags should be directly writable with a command like this:

exiftool -filenumber=100-1234 FILE

- Phil
Title: Re: Is it possible to edit image/file numbering?
Post by: xor01 on October 12, 2012, 02:50:12 PM
Thanks Phil, I manage to edit the "internal" file number of the image using the command line.