how to remove distfiles etc. (short of disk space on a laptop)

Darren Weber dweber at
Fri Nov 6 10:30:24 PST 2009

We have a laptop that is very short on disk space.  There is a bunch of
stuff lying around in:

One way to clean up is to run the following:
sudo rm -rf /opt/local/var/macports/distfiles/*
sudo rm -rf /opt/local/var/macports/build/*
sudo rm -rf /opt/local/var/macports/packages/*

Are there any problems with that?  Is it preferable to use a port command to
cleanup all of this?

Is it still true that activation entails hard-links from:
If so, it would be a disaster to run (right?):
sudo rm -rf /opt/local/var/macports/software/*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list