Quote:
Originally Posted by davidfor
But, I don't think deleting the empty annotation files will change anything. If the file is empty, it should mean that the book has been opened and there are currently no annotation made on it. Other than someone creating the file manually, I don't think there is a way to have an empty file there and have annotations in the database. Are you seeing something happening when these files are there?
|
What I want is keeping only the annotation files that contain some actual annotations. If I need to backup the annotations or look at them in my computer, these files are useful. I haven't tried saving the annotations from the database yet, but the files are easily readable without calibre.
Cleaning up the annotation files would also let me quickly see which books have real annotations (by just seeing which files are there).
So, my thoughts about
:
Quote:
1- Remove all annotations files
2- Remove all annotations files for books that are no longer on the device
3- Remove all annotations files for books that do not have annotations in the database
4- Remove all annotations files for books that do have annotations in the database
5- Remove empty annotations files
|
1 and 4: No, although it could be used if you want to remove duplicate information. Or if that forces the device to re-generate the annotation files
2, 3, 5: Yes. Those files would be pretty useless.
This is all assuming that under normal conditions the database and the annotation files contain the same information. Have you seen that this is not the case? I had a quick look and the annotation files for the books which I know I have annotated do indeed contain at least some of the annotations, the files for books I have annotated and then removed the annotations are "empty", the files for books I have not annotated are "empty" too. It's these "empty" files i don't want there.