Re: A handy utility (at least for me)

[ Available lists | Index of freebsd-hackers | Month of Aug 2006 | Week of 30 Aug 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Thiago Damas <tdamas@gmail.com>
Date
30 Aug 2006 06:03:07
Subject
Re: A handy utility (at least for me)
Message-ID
f8e3d83f0608292303q7c8b42dq33e599bbc0e2e371@mail.gmail.com

In reply to
References to
Replies

[ Hide this part ]
 It can be:
cd /usr/ports
rm -rf */*/work

[]s


On 8/26/06, Rick C. Petty <rick-freebsd@kiwi-computer.com> wrote:
> 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
>
> =)
>
> -- Rick C. Petty
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>


Elapsed time: 0.198 seconds