creating unique identifier tags

Started by neebah, September 29, 2016, 07:15:23 AM

Previous topic - Next topic

neebah

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"

Phil Harvey

This is common mistake 5c.

Also, you have some extra quotes there.

- 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 ($).