Quote:
Originally Posted by Ken Maltby
In the Kobo Start Menu 7 there is, under "Tools", a "koreader diverse.msh" which has a script "delete dead history entries.sh", that might meet your needs. (I have my external uSD card mounted as read/write, and the script says it doesn't try to delete those with a mnt/sd location, so I just delete them myself.)
To be able to write to and delete from your external drive, including using the File Manager's long press options for deleting files, the mnt/sd must be remounted as read/write. To do so I add this to the koreader.sh file, just before "reader.lua" is called:
#remount SD card as read/write
mount -o remount,rw /mnt/sd
Luck;
Ken
|
In KSM (in "configure"), there is a key "deleteSDRsOnboard" in the section "[Koreader]". If you set it to true all sdr folders that have a corresponding lua file in the history folder, get deleted each time you exit Koreader. Therefore, I would enable this option and run (and exit) koreader, before deleting any files of the history folder.
The reason why "delete dead history entries.sh" does not affect history-files that refer to books on the external sd, is that it cannot decide whether a book has actually been remove from the currently inserted external sd or maybe lives on another sd card (for instance, when you are switching between several sd cards).