I want to search a directory for photos with a person, eg Angela. who could be mentioned in [EXIF] 0x010e Image Description or [IPTC] 0x0019 Keywords
How can that be done?
Just the same as your previous question (https://exiftool.org/forum/index.php/topic,3896.0.html). The -if argument is a Perl-like expression with tag names as the variables:
exiftool -if '$imagedescription=~/Name/i or $keywords=~/Name/i' ...
- Phil
Thanks, I thought it must be something like this, but how can I choose a group like EXIF or IPTC, in case there are more fields with the same name?
-if '$exif:imagedescription=~/Name/i or $iptc:keywords=~/Name/i'
This is why I call it "Perl-like". The variable names conform to the ExifTool tag name convention instead of the Perl variable naming convention.
- Phil