Problems with large numbers of files in batch mode

Started by Jabber, August 23, 2024, 06:15:28 PM

Previous topic - Next topic

Jabber

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?

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Jabber

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.

StarGeek

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)
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype