At Thu, 15 Sep 2011 08:03:13 +0800, James Harkins wrote: > > At Wed, 14 Sep 2011 23:04:02 +0200, > Herbert J. Skuhra wrote: > > > > On Wed, 14 Sep 2011 16:51:48 +0800 > > James Harkins <jamshark70@gmail.com> wrote: > > > > > I would like to remove the locally-cached copies of messages that > > > are older than, say, six months. > > > > elmo-cache-expire-by-age ? > > This seems not to have had any effect. I did M-x > elmo-cache-expire-by-age and entered 180 for the number of days, but > the cache directory still contains a lot of files older than that > (e.g., December 10, 2010). > > I also verified that elmo-cache-directory is the same location where I'm checking for old files. > > Maybe a bug in that function? It's worth noticing that `elmo-cache-expire-by-age' uses the files' atime (=time last accessed) to calculate the age. This means that every program that accesses files in .elmo/cache will reset the age counter. Even if the program just reads the file (e.g. backup process). Using atime makes sense but doesn't feel right. E.g. I've mounted my home directory with the noatime option, so atime is never updated and the same as ctime (creation) or mtime (modification). Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de
Attachment:
pgpK5OEfA3Qyo.pgp
Description: PGP signature