Date: Sun, 24 Oct 2004 09:38:37 -0700 From: "Jason C. Wells" <jcw@highperformance.net> To: current@freebsd.org Subject: Re: RFC: automated way of removing old base system files (only for a recent 6-current!) Message-ID: <12D1A2B7719A7312364675CC@[192.168.1.16]> In-Reply-To: <20041024131927.GA60644@voi.aagh.net> References: <20041016142502.6362d396@Magellan.Leidinger.net> <20041023.194558.63828926.imp@bsdimp.com> <20041024124805.378e6bc3@Magellan.Leidinger.net> <20041024131927.GA60644@voi.aagh.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I realize that I am a bit of a late comer to this discussion. I use this method to remove old files. You guys might gasp in horror, but it seems to work. The actual script is a bit longer. I do this on RELENG_5 but that shouldn't matter. # make buildworld # touch time_marker # make installworld # find $dir \! -path $includes_and_others \! -type d \! -newer time_marker -exec rm {} \; I only recently started doing this on a system that I mostly compile software on. I did end up having to remake a port that was linked to a library that was deleted. That's no biggy on a hobby box. My motivation was to delete items that I had NO_* (bind, sendmail) options for in make.conf. Later, Jason
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12D1A2B7719A7312364675CC>