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

Bug#160743: efficient local package cache backup for autoclean/clean



On Tue, Apr 20, 2004 at 09:48:32AM -0700, Matt Zimmerman wrote:
> On Tue, Apr 20, 2004 at 06:39:08PM +0200, Osamu Aoki wrote:
> 
> > On Mon, Apr 19, 2004 at 05:23:53PM -0700, Matt Zimmerman wrote:
> > > I use something like this in cron.daily:
> > > 
> > > find /space/cache/apt/archives -type f -atime +5 \
> > >         | xargs --no-run-if-empty rm
> > 
> > This is more like gentle version of "apt-get clean".
> > 
> > If last update of the package was older than 5 days, and new package
> > break system, I still need to download old version from somewhere.
> 
> 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?

Osamu



Reply to: