-api filter

Started by irinaonline, October 19, 2019, 04:23:26 PM

Previous topic - Next topic

irinaonline

I came along to need 2 filters applied with -api filter, however, one filter replaces the other.

How can I have both filters be valid?

The actual syntax is

-sep ", " -m -addtagsfromfile @ -api filter=""s/\s*\(.*//"" -api filter=""s/\s*\..*//""

StarGeek

Combine them by separating them with a semicolon ;

-api filter="s/\s*\(.*//;s/\s*\..*//"
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Hayo Baan

Or simply like so: filter="s/\s*[(.].*//"
Hayo Baan – Photography
Web: www.hayobaan.nl

irinaonline

perfect. thank you. will try it out asap.