I'm trying to process about 5000 images with the following bash command:
ufraw-batch --embedded-image *.cr2
UFRaw-Batch processes first 1020 files, and for the rest it prints "Too many open files" error. A workaround is to use ulimit -n 6000
or so. But it seems ufraw-batch
forgets to close the already-processed files, leaking file descriptors, which would be a bug.