Cleaning Ports Tree

Tim Daneliuk tundra at tundraware.com
Thu Apr 15 20:37:33 UTC 2021


I am aware that one can do this to clean the ports tree:

  cd /usr/ports
  make clean

However, this is very slow.  Is there any reason not to do this instead:

  find  /usr/ports -type d -name work -exec -vrf {} \;

This second approach is much, much (much) faster, I just want to make
sure I am not creating nasty side-effects thereby.



More information about the freebsd-questions mailing list