Quote:
Originally Posted by davidfor
When you delete a book from calibre, it does so in the same way as the device does (with the exception of cleaning up empty directories). So, it doesn't delete those files.
The files are created when the book is first opened on the device (though it might be different if you use ADE to put the book on the device). The annotations files are maintained when reading an epub. As you add and remove annotations they are changed in both the database and the file. The latter is done by the RMSDK and I doubt there is a way to turn it off. It is handled a little differently if you edit the annotations from outside a book. From memory, it updates the annotations in the database, but only updates the file when the books is opened and a merge is done.
Not removing these files does allow an epub to be deleted and then added again and the annotations not lost. But, I'll look at adding an option to the driver to clean them up. And sometime I have to write a cleanup function for the Kobo Utilities plugin to do this a well.
|
Would you also please add in to delete the excess XML files? Thanks.