ExifTool Forum

ExifTool => Newbies => Topic started by: Bunkermentality on October 18, 2021, 07:18:27 AM

Title: Delete all XMP Iptc4xmpExt PersonInImage tags
Post by: Bunkermentality on October 18, 2021, 07:18:27 AM
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
Title: Re: Delete all XMP Iptc4xmpExt PersonInImage tags
Post by: Phil Harvey on October 18, 2021, 08:45:32 AM
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
Title: Re: Delete all XMP Iptc4xmpExt PersonInImage tags
Post by: Bunkermentality on October 18, 2021, 09:19:17 AM
Great. Thanks for your help (again). The process creates *.jpg_original backup files. Is there any way to inhibit this?

Thanks Paul
Title: Re: Delete all XMP Iptc4xmpExt PersonInImage tags
Post by: Phil Harvey on October 18, 2021, 10:35:44 AM
Add -overwrite_original to the command.

- Phil
Title: Re: Delete all XMP Iptc4xmpExt PersonInImage tags
Post by: Bunkermentality on October 18, 2021, 12:22:59 PM
Excellent. It works a treat!

Thanks again.