Those files remain behind only when the book is not from your Kindle Cloud. I assume because Amazon does not want to reset your annotations without you knowing.
When you delete from device via calibre, it clears them out.
You can write a script which compares file/folder names and deletes all folders which don't have a corresponding file.
The Personal Letter stuff is easy, I just matched it with a /mnt/us/documents/Personal\ Letter* and delete it via the nagger KUAL menuentry.
Last edited by eschwartz; 10-07-2014 at 12:46 AM.
|