View Single Post
Old 05-10-2018, 11:06 AM   #3
seru1us
Member
seru1us began at the beginning.
 
Posts: 10
Karma: 10
Join Date: May 2018
Device: Web Browser
Quote:
Originally Posted by kovidgoyal View Post
Use CALIBRE_TEMP_DIR to tell calibre to use a directory on a disk that has enough space for copies of all the files you are adding. Or add in batches.

And note that file descriptors do not fill up a disk, files do. A file descriptor is simply a small structure, typically a few bytes in size stored inthe kernel.
Thanks for the reply!

So for a very large folder structure, I'm guessing I should write a script to run through each folder and run calibredb add on each one, as opposed to running it on the entire parent directory.

I think the main issue here is that the file descriptor stays open for much longer after the file is deleted, so the space in the folder is still allocated. Regardless, I'll write up a script to go with this workaround. Thanks again!
seru1us is offline   Reply With Quote