ExifTool Forum

ExifTool => Developers => Topic started by: u7114 on May 22, 2018, 07:28:15 PM

Title: Question: max # files in single operation
Post by: u7114 on May 22, 2018, 07:28:15 PM
Hello, and first of all thanks for this great tool!

I know ExifTool has powerful multifiles batch operations, but I use a legacy application where I override the performOnFile method to make any needed modification (shift timezone, rename files based on local time and user time, etc.).

After 144 files, the worker is waiting something, and I have to stop it and start a new instance of worker to process the unmodified files remaining.
This occurs always after the worker writes the 144th time a file at once. If we select 143 files, the worker stops as expected after the last file and we can select the remaining files and click on start.
When the parser reads only meta, we do not have this limit of 144 files.

I have search in the faq, the forums, and in the search engines, but without any info.
If anybody has a clue, i will be glad to read it.
Title: Re: Question: max # files in single operation
Post by: StarGeek on May 22, 2018, 08:39:37 PM
I have run 10s of thousands of files in a single operation with exiftool without a problem, so exiftool by itself isn't the source of the problem. 

What is the nature of your legacy app?  I recently read where one person was having a problem with a Powershell script that wouldn't process more than 115 files when calling exiftool.  In this case it turned out to be a stdout buffer problem.  For what it's worth, here's the Stackoverflow question (https://stackoverflow.com/questions/50162799/powershell-system-diagnostics-process-exiftool-stop-working-when-dealing-with).
Title: Re: Question: max # files in single operation
Post by: u7114 on May 23, 2018, 02:00:54 AM
Thanks for this info.
I will digg into this direction.

The legacy app is a java swing client.
Title: Re: Question: max # files in single operation
Post by: Phil Harvey on May 23, 2018, 07:10:03 AM
On some platforms there is a command-line-length limitation, which is a possible source of the problem.  The usual work-around for this is to use the ExifTool -@ option.

- Phil