removing distfiles?

RW rwmaillists at
Thu May 28 01:13:50 UTC 2009

On Wed, 27 May 2009 22:56:10 +0200
Roland Smith <rsmith at> wrote:

> Using e.g. 'portmaster --clean-distfiles-all' only removes those
> distfiles that do not belong to installed ports.

I've not used it myself, but there is also a shell script called
distviper in bsdadminscripts which supports both of distclean's modes
without the ruby dependence.

Personally I much prefer the less aggressive mode (distclean -D) which
deletes files unreferenced by the ports tree, rather than unreferenced
by installed ports.

More information about the freebsd-questions mailing list