Date: Sun, 30 Sep 2001 17:38:58 -0700 From: "Kevin Oberman" <oberman@es.net> To: Doug Barton <DougB@DougBarton.net> Cc: Michael Grant <mg-fbsd2@grant.org>, freebsd-stable@FreeBSD.ORG Subject: Re: upgrading and removing old files Message-ID: <200110010038.f910cwk12301@ptavv.es.net> In-Reply-To: Your message of "Sun, 30 Sep 2001 17:08:51 PDT." <3BB7B413.A548B002@DougBarton.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 30 Sep 2001 17:08:51 -0700 > From: Doug Barton <DougB@DougBarton.net> > Sender: owner-freebsd-stable@FreeBSD.ORG > > Michael Grant wrote: > > > > Does anyone have any good ways to find and remove old files after > > updating from source? (for example executables or libs which > > have either gone away or changed names). > > I generally go into the directory I want to clean up and do an ls -l to > determine the date which I did the last update, then do 'ls -l | grep -v > 'date'' and move anything that isn't the right date to an Old/ directory. > Periodically I rm -r the Old directory after I'm sure everything is still > working. You might want to look at cvsupchk which is a part of the cvsup package. It's in the installation tree in /usr/ports/net/cvsup/work/cvsup-snap-16.1e/contrib, but i not installed. (If you do a 'make clean', you will need to do a 'make extract' to get the files back. It is written in python, so the python port must be installed. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110010038.f910cwk12301>