On Tue, Apr 20, 2004 at 10:49:32AM -0700, Matt Zimmerman wrote: > On Tue, Apr 20, 2004 at 07:44:10PM +0200, Osamu Aoki wrote: > > > On Tue, Apr 20, 2004 at 09:48:32AM -0700, Matt Zimmerman wrote: > > > Er...your proposed script has the same semantics. > > > > Is it? > > > > Mine will save files exised 3 days ago even if they were last accessed 1 > > year ago. That was what I thought it does. > > > > Did I miss something? > > OK, it is a little bit different. Your script will keep files for N days > after they are _deleted_. Mine keeps files for N days after they are last > _accessed_.
Exactly. Mine is the same idea as pdumpfs which is the power behind snapshot.debian.net. I used a simple implimentation with BASH instead of pdumpfs's generic Ruby one. I do not know what haapens when apt is run by user when CRON is in action or vice varsa. I wish mine could have been as short and simple as yours. Osamu

