Delete all XMP Iptc4xmpExt PersonInImage tags

Started by Bunkermentality, October 18, 2021, 07:18:27 AM

Previous topic - Next topic

Bunkermentality

I'm at a loss to see how to delete all XMP Iptc4xmpExt PersonInImage tags as I've inherited these from WindowsPhotoGallery. I want to say all other tag though.

Any help appreciated.

Thanks Paul

Phil Harvey

Hi Paul,

There is a PersonInImage tag, then there is a PersonInImageWDetails structure which may contain a lot more information.  To delete them all, do this:

exiftool "-personinimage*=" FILE

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

Bunkermentality

Great. Thanks for your help (again). The process creates *.jpg_original backup files. Is there any way to inhibit this?

Thanks Paul

Phil Harvey

Add -overwrite_original to the command.

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

Bunkermentality