ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: irinaonline on January 28, 2018, 05:14:39 AM

Title: Filter with more than 1 argument + check on empty field
Post by: irinaonline on January 28, 2018, 05:14:39 AM
-if "($SupplementalCategories =~ /%%~nf/i)"

works fine, however, I would like to extend my filter to

-if "(NOT $CountryCode) and ($SupplementalCategories =~ /%%~nf/i)"

this does not work. what is the correct syntax to get only a result back, where the CountryCode is NOT filled?
Title: Re: Filter with more than 1 argument + check on empty field
Post by: Phil Harvey on January 28, 2018, 08:58:02 AM
"NOT" should be lower case.

- Phil
Title: Re: Filter with more than 1 argument + check on empty field
Post by: irinaonline on January 28, 2018, 12:44:34 PM
ty