From owner-freebsd-stable Sun Sep 30 17:39:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 161DA37B40E for ; Sun, 30 Sep 2001 17:39:15 -0700 (PDT) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f910cwk12301; Sun, 30 Sep 2001 17:38:58 -0700 (PDT) Message-Id: <200110010038.f910cwk12301@ptavv.es.net> To: Doug Barton Cc: Michael Grant , freebsd-stable@FreeBSD.ORG Subject: Re: upgrading and removing old files In-reply-to: Your message of "Sun, 30 Sep 2001 17:08:51 PDT." <3BB7B413.A548B002@DougBarton.net> Date: Sun, 30 Sep 2001 17:38:58 -0700 From: "Kevin Oberman" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Sun, 30 Sep 2001 17:08:51 -0700 > From: Doug Barton > 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