I am trying to delete the XMP Lightroom HierarchicalSubject tag which contains stale keywords which I do not want in the IPTC.
I am using exiftool -xmp:all= to delete ALL the XMP data but cannot get the syntax right to just get at the Lightroom HierarchicalSubject stuff.
Please can anyone help?
Many thanks.
EDIT: I have found the "lr" which seems to do the job. Can anyone validate that the following command is correct - its seemls to work ok.
exiftool -overwrite_original -xmp-lr:all= /Users/xxx/Desktop/Dom -ext jpg -r
I received the following error on a couple of files - I do not really understand what it means...
Warning: [minor] Ignored empty rdf:Seq list for dc:creator
This is correct. -xmp-lr:all= will remove all tags in the "lr" namespace (https://exiftool.org/TagNames/XMP.html#Lightroom). Alternatively, since you seem to want to delete only one tag, -hierarchicalsubject= would also have worked.
The warning is nothing to worry about, and just indicates an XMP list that is empty, which really shouldn't happen, but some software may do this.
- Phil
Many thanks - support much appreciated.