View Single Post
Old 07-21-2010, 08:27 AM   #21
Solicitous
Wizard
Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.Solicitous ought to be getting tired of karma fortunes by now.
 
Posts: 1,434
Karma: 1525776
Join Date: Aug 2009
Location: TAS, Australia
Device: Astak Pocket Pro (Black), 2 x Kindle WiFi (Graphite), iPod Touch 4G
Quote:
Originally Posted by Dave_S View Post
I am sorry that the script has been causing you so much frustration, booknut! Now I am wondering if it worked for anyone else but me. On the Lbook V3:CoolReader thread on the-ebook.org I saw that some people seemed to have problems using a cache clearing script too, but then others were saying that it worked fine. BUT, even a few that had problems eventually got it to work. Since I was using Google translate for the Russian language I may have missed some finer points, but I did eventually get it to work fine for me. Now, I can't get it to not work, but I admit that I did not try very hard for that.
I just had a look at the script (I haven't run it myself).

Are the paths correct? IIRC with reading a book in CR and look at the About, it shows the file path (from memory) to be /root/abook/ for the memory card, and /home/ for the internal memory (this is with the latest LBook firmware btw).

So that being the case the script should be;

#!/bin/sh
rm -rf /root/abook/crengine/.cache/*
rm -rf /home/crengine/.cache/*

You always have the option of running;

#!/bin/sh
rm -rf /root/abook/crengine/.cache
rm -rf /home/crengine/.cache

and just delete the .cache folder.
Solicitous is offline   Reply With Quote