Re: [Evolution] .cache/evolution/mail any cleanup logic?



On Thu, 2013-04-11 at 15:02 -0400, Matthew Barnes wrote:
On Thu, 2013-04-11 at 18:11 +0000, Reid Thompson wrote:
is there any logic in evo with regard to clearing cached items?
I ask because this morning I discovered that I had ~53000 items in

./cache/evolution/mail/1351002422 17754 3 raker2/folders/Inbox

Cache folders are removed along with accounts now, but otherwise they
just accumulate gunk forever.  It's a long standing feature request to
limit the size those things can grow to.

Here's a one-liner to remove cache entries over 30 days old (by
modification time):

find .cache/evolution/mail ! -newermt $(date -d '30 days ago' +%F)

(Better use with Evo shut down).

poc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]