ExifTool Forum

General => Metadata => Topic started by: neebah on September 29, 2016, 07:15:23 AM

Title: creating unique identifier tags
Post by: neebah on September 29, 2016, 07:15:23 AM
I am trying to add a unique iterated identifier to a folder of files using the XMP-dc identifier tag using the following command

"-identifier=Digital:05:2005:'${FileSequence;$_=sprintf('%.5d',$_+1)}'" DIR

but all I'm getting as output is Digital:05:2005:${FileSequence;$_=sprintf('%.5d',$_+1)}  Digital:05:2005:"photos id number in folder"
Title: Re: creating unique identifier tags
Post by: Phil Harvey on September 29, 2016, 07:30:13 AM
This is common mistake 5c (https://exiftool.org/mistakes.html#M5).

Also, you have some extra quotes there.

- Phil