Date: Thu, 27 Jun 2013 08:50:16 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Jeremy Chadwick <jdc@koitsu.org> Cc: Chris H <bsd-lists@1command.com>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: portupgrade(1) | portmaster(8) -- which is more effective for large upgrade? Message-ID: <0E80C8BC-2CE5-4D52-9A42-326481DA343E@gsoft.com.au> In-Reply-To: <20130626202332.GB80235@icarus.home.lan> References: <5e20544e3580a75759c3858f31894dc9.authenticated@ultimatedns.net> <20130626202332.GB80235@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27/06/2013, at 5:53, Jeremy Chadwick <jdc@koitsu.org> wrote: > cd /usr/ports/whatever > make install clean > {lather rinse repeat until done} The faster version of this is find /usr/ports -maxdepth 3 -name work -type d -print0 | xargs -0 rm -rf Simpler is to put.. WRKDIRPREFIX=/foo/bar in /etc/make.conf Then you can just rm -rf /foo/bar/work to delete all of the port build goop. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E80C8BC-2CE5-4D52-9A42-326481DA343E>