ExifTool Forum

General => Metadata => Topic started by: neebah on June 12, 2021, 09:33:03 AM

Title: Identifying if a specific metadata type is used
Post by: neebah on June 12, 2021, 09:33:03 AM
Without searching for a specific tag is it possible to identify whether a tag of a specific group is present at all.  For example is it possible to identify if there is any XMP data or any IPTC data or any IFD1 data, etc present in a group of files?
Title: Re: Identifying if a specific metadata type is used
Post by: Phil Harvey on June 12, 2021, 04:11:52 PM
This command will execute if there is any XMP in the file:

exiftool -if "$xmp:all" FILE

- Phil