ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: dbareis on January 14, 2021, 12:39:18 AM

Title: [REQUEST] If Command Variation
Post by: dbareis on January 14, 2021, 12:39:18 AM
From what I understand the "if" command(s) works to select a file (and are not positional), I'd like a way to conditionally apply subsequent flags (so its now positional) until the next "if" condition (or "-endif") which also works the same way.  That is, apply some changes all the time, while still doing some conditionally.
Title: Re: [REQUEST] If Command Variation
Post by: Phil Harvey on January 16, 2021, 11:24:57 AM
What you describe would be very difficult to implement.  With the current implementation, this may be approximated using -execute, although technically you are performing more than one pass.

- Phil