--- wikisrc/pkgsrc/how_to_clean_all_pkgsrc_work_directories.mdwn 2011/11/20 20:28:27 1.1 +++ wikisrc/pkgsrc/how_to_clean_all_pkgsrc_work_directories.mdwn 2011/12/14 02:26:43 1.2 @@ -14,7 +14,7 @@ or this one (it is a bit longer but work # find /usr/pkgsrc -maxdepth 3 -mindepth 3 -name work -print0 | xargs -0 rm -r -You can also change the place where the work directories are created by setting WORKOBJDIR in /etc/mk.conf. However, the above command will still be useful, as symlinks to the actual work directory are created during the build process. +You can also change the place where the work directories are created by setting WORKOBJDIR in /etc/mk.conf. You can clean them using make clean in the parent directory, but this is not advised. It takes a very long time. Using pkgclean is another option. #See also