ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ceej on February 08, 2023, 02:29:18 PM

Title: Feature: -progressNUM
Post by: ceej on February 08, 2023, 02:29:18 PM
A nit, but when processing hundreds/thousands of files, -progress puts out a lot of lines.
Allow setting "progress every X files"
Maybe -progressNUM where X = NUM
or -progress(1,2,3) where X =  10, 100, 1000
Title: Re: Feature: -progressNUM
Post by: Phil Harvey on February 08, 2023, 09:15:49 PM
Interesting idea.  Possible.  I'll think about it.

- Phil
Title: Re: Feature: -progressNUM
Post by: Phil Harvey on February 15, 2023, 03:49:44 PM
This turned out to be very tricky, but it will be implemented in version 12.57.

The complication is due to the fact that messages aren't printed for files that fail the -if condition (if used), so it can't just print every Nth progress message.  It should print only 1 message for every N files processed tested with -if condition, which is actually a bit tricky to implement because the -if preprocessor needs to get feedback from the back end processor (at least I couldn't think of a better way to do this).

- Phil
Title: Re: Feature: -progressNUM
Post by: Phil Harvey on February 23, 2023, 12:03:53 PM
Version 12.57 is now available.

- Phil