View Single Post
Old 05-31-2011, 07:58 AM   #66
drMerry
Addict
drMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmos
 
drMerry's Avatar
 
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
2 remarks:
Your trash-cleaner sounds nice. I think you could make this an option in a settings-element.
I want to remove thumbs.db, iTunesArtwork, .DS_Store but for example, I would also like to remove ~... .~ .temp .tmp ..... a lot more files.
So, first I lookup books with this kind of files, after that, I look at the usage of these files. Until now, I did not see any useful files of this kind, so I removed them.
Same as with some quality check files I found using your unmanifested plugin. It seems a tool on my pc runs quality-checks and adds a folder with results. This file can be found using the unmanifested files. But I also found a book where this file was unmanifested, but another file in the same folder (also a txt (or xml don't know any more) file with check info) was manifested.
I can not find this file with your tool because it seems a 'legal' file. If I can add custom filetypes (complete filenames) to find with quality-check, it would be nice to have the option to remove that kind of files (cross-config usage? (get out of the sand )). And maybe even the empty folder if it is not a default epub-folder and there are no other references any more (like /testresults).
p.s. remember to ad a good tooltip with explicite mention of removed files (thumbs.db, plist and .DS_Store) and remember you will have to update this with every addition of files to this function.

The second remark: I ran a batch of remove-task on some files today.
In most cases it is useful to leave the temp files. In your tool not I think. So would it be possible to let this plugin remove its temp that have been updated / canceld?
I now have 12 folders, 1424 files and 857.605.545 bytes in my cache-file that will
1. be removed when calibre closes (slow down calibre)
2. stay when calibre crashes
3. consume space during calibre run while
4. never be used by calibre or the epub-plugin

But still want to say again a great product
drMerry is offline   Reply With Quote