Is there a way to check for duplicates when adding a Structured Information?

Started by José Oliver-Didier, March 17, 2016, 11:21:45 PM

Previous topic - Next topic

José Oliver-Didier

I was experimenting with the LocationCreatedLocationID struct tags and entered the same command twice.

exiftool -LocationCreatedLocationID+="A"
exiftool -LocationCreatedLocationID+="A"

Upon examining the XMP I discovered that the entry "A" was added twice (duplicated). Is there a way to avoid this from happening? A flag which checks to see if the information already exists and does not add it again?

blog: http://jmoliver.wordpress.com
flickr:  http://flickr.com/jmoliver

Phil Harvey

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