Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2026, 01:26 AM   #1
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
Question Automatic Add deleted books NOT added [Calibre 9.5 on Win11]

On the Automatic add page in Preferences the warning says "WARNING: Files in the above folder will be deleted after being added to calibre."

Reading the warning I thought that only books actually added would be deleted. That the rest would be left alone. I dumped a heap of books into that folder, said don't add the duplicates that it found and it looks like calibre deleted EVERYTHING in that folder after processing (again... even the ones it did not add to my Library). To make matters worse it didn't send the removed files to the Windows Recycle bin.

In this case a LOT of the dupes were false positives caused by "Title - Author" and "Author - Title" flips, "Last, First" and "First Last" flips, and books with "&" in the Title (being read as Authors) as well as actual duplicates.

Did I miss a configuration somewhere? How do I get calibre to not delete books it didn't add (for any reason) or at the very least to get it to use the Recycle Bin?

Thanks!

P.S. For whatever it's worth I very much would consider this a bug and at the very least bad UX. First, the warning is NOT clear, in my opinion, that non-added books are also deleted. Second, the files should NOT have skipped the Recycle Bin. Not in this day and age where storage is backed by NVMe and SSD with TRIM enabled by default on Win10 and 11.

I do realize this behavior might be to avoid having files linger in the import folder but an option "Remove permanently" or "Send to Recycle Bin" would be one way to handle this. Another would be to automatically create a sub-folder "Unable to Add to Library" (or whatever...) and move files to that.
mneimeyer is offline   Reply With Quote
Old 03-26-2026, 01:40 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,142
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You dont -- the automatic adding folder is for automatic adding, not book storage. It is, quite simply, a temporary staging area, typically used for automatically adding downloaded books or similar to calibre. Not sure where you got the impression otherwise.

And yes *duplicates* you choose not to add are removed as well since a duplicate presumably already exists in your library.

Last edited by kovidgoyal; 03-26-2026 at 01:46 AM.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-26-2026, 01:53 AM   #3
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
No I get that. That's not what I was saying. My Calibre library exists at "B:\Library" and my Automatic Add folder is at "B:\Library AutoAdd".

Consolidating the various versions of my library that exist on multiple hard drives and backups and such I've been bringing books into my library in batches by dropping them into the AutoAdd folder.

This time I told it not to import duplicate books (many of which were not actually duplicates but name conflicts due the bad file naming I mentioned) Calibre deleted ALL of the files in my AutoAdd folder even if they had not been imported into Calibre. I know of at least seven CBZ files that had the word "Evil" in the file name and searching for ANY file on B:\ with that word in the file name failed. The CBZs did not have embedded ComicInfo.xml so it couldn't have silently renamed the files using bad metadata. Similarly searching my Recycle Bin does not find them. I have confirmed that my Recycle Bin is correctly configured for that drive and files I delete manually through Explorer are sent there.

So to reiterate, I'm not talking about the actual Calibre Library just the contents of the AutoAdd folder.

Thanks for the rapid response! I hope that clarifies what I mean!
mneimeyer is offline   Reply With Quote
Old 03-26-2026, 02:07 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,142
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes I am saying that automatic adding folder is a staging area. Any books that you add to calibre from it or books that you tell calibre are duplicates when adding from it and therefor it does not add, will be deleted from the automatic add area.
kovidgoyal is offline   Reply With Quote
Old 03-26-2026, 03:22 AM   #5
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
The warning says "deleted after adding" and not "deleted after attempting to add." The deletion criterion as described is successful addition, not merely processing. A file that fails to import hasn't been added. So I'd argue the warning is at least incomplete.

Beyond the warning, silently deleting files that failed to process is genuinely unusual behavior in my experience. Every program or tool that does any sort of import that I've used either flags failed imports, moves them to a separate location, or just leaves them in place so giving us at least the option would make the workflow smoother.

Thanks
mneimeyer is offline   Reply With Quote
Advert
Old 03-26-2026, 03:33 AM   #6
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,888
Karma: 245111335
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
You can always just let it add presumed duplicates and sort them out later. I mean, if many are false positives, you'd need to sort them out anyway, so why not just add them and do the sorting in calibre?
Sirtel is online now   Reply With Quote
Old 03-26-2026, 04:46 AM   #7
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
Quote:
Originally Posted by Sirtel View Post
why not just add them and do the sorting in calibre?
Fundamentally because I didn't realize it would delete the files I didn't import.

Ultimately it is my goal to work inside Calibre but I can do some rough bulk edits to file names in the file system pre-import with scripts so I'd originally planned to do that.
mneimeyer is offline   Reply With Quote
Old 03-26-2026, 05:10 AM   #8
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,888
Karma: 245111335
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by mneimeyer View Post
Fundamentally because I didn't realize it would delete the files I didn't import.

Ultimately it is my goal to work inside Calibre but I can do some rough bulk edits to file names in the file system pre-import with scripts so I'd originally planned to do that.
Have you set calibre to take its metadata from the filenames, then? Otherwise your changing file names won't matter.
Sirtel is online now   Reply With Quote
Old 03-26-2026, 07:03 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,142
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Its not a failure to import. When a duplicate is detected you are *asked* if you want to import it and only if you say no is it deleted.
kovidgoyal is offline   Reply With Quote
Old 03-26-2026, 08:06 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,663
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mneimeyer View Post
Fundamentally because I didn't realize it would delete the files I didn't import.

Ultimately it is my goal to work inside Calibre but I can do some rough bulk edits to file names in the file system pre-import with scripts so I'd originally planned to do that.
Unless you have calibre reading the metadata from the filename, renaming any of those eBook is irrelevant as calibre would read the metadata in the eBook.
JSWolf is offline   Reply With Quote
Old 03-28-2026, 05:07 PM   #11
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
Quote:
Originally Posted by kovidgoyal View Post
Its not a failure to import. When a duplicate is detected you are *asked* if you want to import it and only if you say no is it deleted.
It does ask. I didn't dispute that.

The text on the Duplicate Found Dialog says "Books with the same titles as the following already exist in calibre. Select which books you want added anyway."

The text in the warning on the adding books preference page says "Warning: Files in the above folder will be deleted after being added to calibre".

This may come down to language differences perhaps but the American version of English I was raised on would say that if a book is not selected then it is not added and if a book is not added then it should not qualify to be deleted. Phrased inversely, only books that are added will be deleted.

Now that I know this I will be sure to do things the expected way but it feels like such as easy fix to just change the warning to something like "Files in the above folder will be removed after being processed whether they are added to the library or not".

I would still argue that not using the recycle bin is a bad User Experience but properly warned it becomes less so.
mneimeyer is offline   Reply With Quote
Old 03-28-2026, 05:08 PM   #12
mneimeyer
Member
mneimeyer began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jun 2011
Location: Claymont, DE
Device: Boox Note Air 5C / Moon+
Quote:
Originally Posted by JSWolf View Post
Unless you have calibre reading the metadata from the filename, renaming any of those eBook is irrelevant as calibre would read the metadata in the eBook.
CBR and CBZ files, like I was adding, that do not have a ComicInfo.xml have no metadata to read.
mneimeyer is offline   Reply With Quote
Old Yesterday, 10:21 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,663
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
i agree that if a book is not added it should not be deleted. I do think this needs to be fixed because it's a bug.
JSWolf is offline   Reply With Quote
Old Yesterday, 10:40 AM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,653
Karma: 64144480
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I am going to side with Jon on this one (or it needs to be an option to Leave them behind).

When I was using auto add (a while back), I would come back to the folder and find remnants and know I needed to figure out 'Why' those failed (usually was my fault ). Depending on cases, a log file is not always the easiest way to chase things.
theducks is offline   Reply With Quote
Old Yesterday, 11:55 AM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,663
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
I am going to side with Jon on this one (or it needs to be an option to Leave them behind).

When I was using auto add (a while back), I would come back to the folder and find remnants and know I needed to figure out 'Why' those failed (usually was my fault ). Depending on cases, a log file is not always the easiest way to chase things.
If an option is added, I think the option should default to not deleting if the books are not added. IMHO, it's too easy to hit the wrong button when being told this the eBook may be a duplicate and if you do that, it would be deleted.

Last edited by JSWolf; Yesterday at 11:58 AM.
JSWolf is offline   Reply With Quote
Reply

Tags
automatic add, bug


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Docker Server Automatic Add not Working netlander Server 1 12-28-2020 10:38 AM
Automatic loading of books added to a location quinoche Library Management 1 04-09-2020 11:00 PM
How to add more ignore filteypes in Automatic Addition of Books? stanmarsh Library Management 2 07-24-2015 09:14 AM
How can I force Calibre to add formats that are added manually to the respective f? loviedovie Calibre 27 06-16-2015 10:29 PM
Automatic Convert and Automatic Add not working together kylliancole Calibre 3 08-03-2012 11:57 PM


All times are GMT -4. The time now is 04:59 AM.


MobileRead.com is a privately owned, operated and funded community.