Ports Clean

Josh Paetzel josh at tcbug.org
Fri Jul 13 18:05:14 UTC 2007


On Friday 13 July 2007, Grant Peel wrote:
> Hi all,
>
> My ports collection on some of the servers is wasting alot of
> space.
>
> What would be the best method to 'cleanout' the ports dir without
> adversly affecting the operation of the rest of the server?
>
> All of the servers are live production servers.
>
> -Grant

There are a few possibilities.

1) cd to each installed ports dir and do a make clean
2) do the same but a make distclean
3) rm -rf /usr/ports/*/*/work
4) rm -rf /usr/ports and recvsup the tree

-- 
Thanks,

Josh Paetzel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070713/09fe5629/attachment.pgp


More information about the freebsd-questions mailing list