On 11 April 2013 21:20, Patrick O'Callaghan <[email protected]> wrote:

> 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).


Oops, I forgot the '| xargs rm' at the end of the line. However the result
of adding that will remove more than I expected so I don't recommend doing
this without further testing.

Apologies for the inconvenience. At least it shouldn't lose anyone's mail.

poc
_______________________________________________
evolution-list mailing list
[email protected]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to