A handy utility (at least for me)

Roman Kurakin rik at inse.ru
Sat Aug 26 23:05:35 UTC 2006


Rick C. Petty:
> On Sat, Aug 26, 2006 at 07:19:06PM -0300, Mario Lobo wrote:
>   
>> My  /usr/ports directory was occuping 24 gigs, of which 20 was just from the 
>> 'work' directories !
>>
>> Removing them one by one was a pain so I wrote this little utility to wipe 
>> them off.
>>     
>
> I find that the following command works just fine for me:
>
> find /usr/ports -type d -name work -prune -print -delete
>   
A bit rude, but also works

cd /usr/ports && make clean

rik
> =)
>
> -- Rick C. Petty
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>   



More information about the freebsd-hackers mailing list