ports clean

David Kelly dkelly at hiwaay.net
Wed Aug 15 06:42:44 PDT 2007


On Wed, Aug 15, 2007 at 09:27:15AM -0400, Grant Peel wrote:
> How con I run make clean in the /usr/ports directory and ensure the
> CPU does not get all eaten up?
> 
> I need to do this on two name servers so no users need to log in or
> anything...it can run for a whole day and not bother anyone.

"portsclean -C" does "rm -r /usr/ports/*/*/work"

You might add "nice +20" (or whatever the syntax is for your shell) in
front of that.

-- 
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.


More information about the freebsd-questions mailing list