Copy value from RegionPersonDisplayName

Started by Henry Pye, July 30, 2011, 11:33:14 AM

Previous topic - Next topic

Henry Pye

I'm using version 8.61.

I'm trying to copy the values from RegionPersonDisplayName to PersonInImage.

I tried -xmp-mp:RegionPersonDisplayName+=test and it works.

I tried -xmp:PersonInImage<RegionPersonDisplayName and it gives the error "No writable tags found"

Phil Harvey

This is tricky because RegionPersonDisplayName is part of a structure, and since version 8.44 exiftool has enabled the structure option by default when copying tags.  While this means that entire structures are now preserved when copying, it also means that individual flattened tags are no longer available by default.

Use the --struct when copying to disable this feature and allow the flattened tags to be copied.

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

Phil Harvey

Update:  As of ExifTool 8.83, you no longer need to use the --struct option to copy flattened tags by name.

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