ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Jabber on August 23, 2024, 06:15:28 PM

Title: Problems with large numbers of files in batch mode
Post by: Jabber on August 23, 2024, 06:15:28 PM
I am asking for tags "XMP:Description", "Keywords", "XMP:Subject", and "XMP:Identifier" with -n in batch mode and it seems to be choking on directories with thousands of files.

This is on Windows, using the pyexiftool wrapper (which calls the executable). Is this a limitation or am I doing something wrong?
Title: Re: Problems with large numbers of files in batch mode
Post by: StarGeek on August 23, 2024, 06:40:04 PM
We wouldn't know about anything in regard to the pyexiftool wrapper, as that was created by someone else. I believe the sylikc/pyexiftool fork is the one currently maintained.

I've run a single exiftool command on the command line, in which exiftool read over 100k files. There's never been a problem for me doing this.

Try running the command on the command line first. You might also check any antivirus program to see if that is causing a problem. It's been a long time since that has happened but things change.
Title: Re: Problems with large numbers of files in batch mode
Post by: Jabber on August 23, 2024, 08:09:13 PM
Quote from: StarGeek on August 23, 2024, 06:40:04 PMWe wouldn't know about anything in regard to the pyexiftool wrapper, as that was created by someone else. I believe the sylikc/pyexiftool fork is the one currently maintained.

I've run a single exiftool command on the command line, in which exiftool read over 100k files. There's never been a problem for me doing this.

Try running the command on the command line first. You might also check any antivirus program to see if that is causing a problem. It's been a long time since that has happened but things change.

Thanks, will check as you suggested.
Title: Re: Problems with large numbers of files in batch mode
Post by: StarGeek on August 24, 2024, 01:04:37 AM
For what it's worth, I ran this command on a directory with 56k files
exiftool -G1 -a -s -XMP:Description -Keywords -XMP:Subject -XMP:Identifier -n -r DIR

The timed result
56199 image files read
command took 0:23:21.69 (1401.69s total)