Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2026, 04:13 PM   #1
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
[Plugin GUI] Delete Extra Files

Delete Extra Files is a plugin designed to help users delete files contained within the data folder of each book, as well as the data folder itself.

This tool provides a simple graphical interface for locating and securely and efficiently deleting the contents of the data folder.

Key Features
Data Directory Scan: Scans the library to locate and list which books contain files stored within the data folder.

Interactive and Selective GUI: Features a clear list view with support for multiple selections, individual checkboxes, and quick Select All/Deselect All controls to maintain complete control over what is deleted.

File and Folder Cleanup: Deletes files within the data folder and the data folder itself to free up physical disk space.

Case Conflict Reporting: Clearly detects and reports case conflicts within the interface, making them visible for review and manual resolution.

Cross-platform and localized: Fully compatible with Linux, macOS, and Windows with built-in translation support (i18n).

How to use: Install the plugin in Calibre.

Open the tool from your toolbar or menu to run an automatic library scan.

Review the list of books and files within the data folder (selected by default).

Click the delete button to remove the selected items from physical storage.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	40
Size:	65.5 KB
ID:	225533  
Attached Files
File Type: zip Delete Extra Files.zip (43.9 KB, 7 views)

Last edited by dunhill; 08-31-2026 at 10:34 PM.
dunhill is offline   Reply With Quote
Old 08-30-2026, 06:49 PM   #2
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: 84,749
Karma: 153788055
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Reading the title of this thread, I was hoping this would scan your Reader and delete orphaned files.
JSWolf is offline   Reply With Quote
Advert
Old 08-30-2026, 07:46 PM   #3
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Reading the title of this thread, I was hoping this would scan your Reader and delete orphaned files.
That's a very fair point! Given the name, it's easy to see why one might think of the e-reader device itself.

However, Delete Extra Files focuses exclusively on the host side—its main goal is to help you reclaim disk space by cleaning up the leftover files, logs, and bulky data directories left behind inside individual book folders within your local calibre library on your computer.

Cleaning up physical e-readers (like orphaned files on a connected Kindle or Kobo) is a whole different beast due to how tightly closed proprietary file systems can be. For device-side maintenance, specialized device plugins (like Kobo Utilities) are usually the way to go. But who knows? Maybe device-side scanning could inspire a future project ! Thanks for sharing the thought!
dunhill is offline   Reply With Quote
Old 08-30-2026, 07:55 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,086
Karma: 83429614
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
What's different from the built in Calibre "Library Maintenance" function (found in the Library button), that allows you to not only validate the integrity of the calibre database but also remove files / directories in the file system that are not in the database?

Last edited by PeterT; 08-30-2026 at 07:58 PM.
PeterT is offline   Reply With Quote
Old 08-30-2026, 09:41 PM   #5
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by PeterT View Post
What's different from the built in Calibre "Library Maintenance" function (found in the Library button), that allows you to not only validate the integrity of the calibre database but also remove files / directories in the file system that are not in the database?
That's a fantastic question! calibre's built-in 'Library Maintenance' is a great tool, but it serves a fundamentally different purpose.

calibre's native check looks for completely orphaned files on the hard drive that have no record at all in the database. However, 'extra files' and book-level data directories are actually tracked by calibre's database (list_extra_files). Because of that, the built-in maintenance tool completely ignores them, treating them as valid parts of the book record.

Delete Extra Files fills that exact gap by:

Allowing you to target those registered extra files and bulky data folders to actively reclaim disk space.

Providing an interactive, multi-select GUI with checkboxes so you have granular, book-by-book control over what gets deleted, rather than an automated all-or-nothing global sweep.

Catching and highlighting case-sensitivity conflicts.

So while built-in maintenance handles database-vs-disk discrepancies, this plugin gives you direct control over storage optimization and library hygiene!

Last edited by dunhill; 08-31-2026 at 07:17 PM.
dunhill is offline   Reply With Quote
Advert
Old 08-30-2026, 11:38 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,816
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Does this plugin take heed of the Names to ignore & Extensions to ignore settings in Check library, viz:

Click image for larger version

Name:	Screenshot 2026-08-31 132300.jpg
Views:	23
Size:	163.9 KB
ID:	225537

BR
BetterRed is offline   Reply With Quote
Old 08-31-2026, 11:38 AM   #7
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: 84,749
Karma: 153788055
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I know with a Kindle (not MTP as I don't know an MTP Kindle well enough) and Kobo, that you do have access to the drive and can delete extra files/directories.

Would you like to create a plugin to all the extra files on a Kindle or Kobo to be removed? I cannot speak for other Reader brands.
JSWolf is offline   Reply With Quote
Old 08-31-2026, 12:09 PM   #8
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by BetterRed View Post
Does this plugin take heed of the Names to ignore & Extensions to ignore settings in Check library, viz:

Attachment 225537

BR
That's a great observation! No, the plugin doesn't use the 'Names to ignore' or 'Extensions to ignore' settings, and intentionally so.

Those configuration fields belong exclusively to calibre's global 'Check Library' tool, which scans the file system for completely unindexed, orphaned files that have no record in the database.

In contrast, Delte Extra Files operates directly on files and folders that are formally tracked by calibre's database via its API (list_extra_files / list_data_files). Because it focuses strictly on managing those registered book-level extra files and data directories, it doesn't need global ignore rules.

Keeping it completely separate from calibre's native maintenance settings ensures there's no interference with core functions, keeping the tool fast, focused, and safe to use!

Last edited by dunhill; 08-31-2026 at 07:16 PM.
dunhill is offline   Reply With Quote
Old 08-31-2026, 07:24 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,816
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I'd be very surprised if Calibre formally tracks the content of a book's 'data' subfolder via its database.

I make extensive use of the 'data' subfolder feature, have done since the day (literally) it was released. And because it didn't exist at that time, I do not use the Manage data file feature… still don't.

I manage the content of the 'data' folders using: Windows File Explorer, zabkat's xplorer², LopeSoft's FileMenu Tools, and AHK scripts.

And, afaik there can only be one subfolder in a calibre book folder, and it must be named 'data', anything else will generate this error in Check Library… unless it's in the Names/Extensions to ignore.

Click image for larger version

Name:	Screenshot 2026-09-01 091833.jpg
Views:	13
Size:	247.2 KB
ID:	225592

BR

Last edited by BetterRed; 08-31-2026 at 08:00 PM. Reason: Added exception in Blue
BetterRed is offline   Reply With Quote
Old 08-31-2026, 07:58 PM   #10
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Thanks for sharing your thoughts and feedback

You're completely right that those folders can be managed externally. However, calibre does actually have native, formal support for this.

If you go to 'Edit metadata' -> 'Manage data files', calibre explicitly allows you to add and manage files inside a book's data directory, tracking them right inside its internal database (which is why APIs like list_extra_files exist in the first place).

That's actually why this plugin handles both scenarios so well:

It cleans up the formal database-tracked extra files and data directories created through calibre's native interface.

At the same time, thanks to its physical disk cleanup layer, it also sweeps away any untracked leftovers or empty folders dropped by external tools or custom scripts.

So whether calibre knows about the file or an external tool put it there, the plugin ensures your hard drive stays clean

At the end of the day, that's really what this plugin is all about. While external management is an option, doing it manually across a large library to find and purge bulky data folders and leftover files is tedious. This plugin simply automates that cleanup with a clear GUI, saving you from hunting them down one by one

Thanks again for the input!
dunhill is offline   Reply With Quote
Old 08-31-2026, 08:37 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,816
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Please tell me which table(s) in metadata.db the content of the 'data' folders is recorded - i.e. the file and folder names therein?

All the files and folders I have in my 'data' folders were created by external tools, and they all show up in the Manage data folder dialogue.

I suggest you find another translation tool, the one you're using is generating misleading statements and far too many colloquialisms .

BR
BetterRed is offline   Reply With Quote
Old 08-31-2026, 10:41 PM   #12
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,180
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Hi BetterRed
You are completely correct. My previous wording regarding "database references" was inaccurate and poorly translated, and I apologize for the confusion.
To clarify: the plugin does not interact with any tables in metadata.db. It operates exclusively at the file system level to help manage and delete the contents within a book's data folder (as well as the folder itself), and it also reports case-sensitivity conflicts.
Thank you for pointing out the technical error and helping keep the description accurate. I appreciate your feedback
Best regards
dunhill is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Streamer - RSVP Speed Reader plugin for Calibre npapadacis Plugins 6 04-24-2026 03:00 AM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 03:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Is there a plugin that will search a library to delete the ORIGINAL_EPUB files LadyKate Library Management 4 11-09-2013 09:02 PM
how to delete extra books goldy319 enTourage Archive 6 12-17-2010 07:24 PM


All times are GMT -4. The time now is 01:59 PM.


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