A handy utility (at least for me)

Mario Lobo mlobo at digiart.art.br
Sat Aug 26 23:13:17 UTC 2006


> I find that the following command works just fine for me:
>
> > find /usr/ports -type d -name work -prune -print -delete
>
> And EVEN cooler is having a
>
> WRKDIRPREFIX=           /var/ports
>
> in your /etc/make.conf, that way an "rm -rf /var/ports/*" cleans without
> unnecessary directory recursion.

Nothing like being a part of a list o people with true knowledge of OS tools!.

I at least  take comfort in the fact that I exercised my tiny programing 
skills, and that I learned more options from these guys.

big thanks.
-- 
Mario Lobo
http://www.mallavoodoo.com.br
99% rwindows FREE (FBSD not for Pro-Audio.... YET!!!)


More information about the freebsd-hackers mailing list