Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2006 01:13:19 +0200
From:      albi <albi@scii.nl>
To:        Roman Kurakin <rik@inse.ru>
Cc:        freebsd-hackers@freebsd.org, rick-freebsd@kiwi-computer.com, mlobo@digiart.art.br
Subject:   Re: A handy utility (at least for me)
Message-ID:  <20060827011319.902388ee.albi@scii.nl>
In-Reply-To: <44F0D574.4080807@inse.ru>
References:  <200608261919.07106.mlobo@digiart.art.br> <20060826225350.GA20172@megan.kiwi-computer.com> <44F0D574.4080807@inse.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Aug 2006 03:12:52 +0400
Roman Kurakin <rik@inse.ru> wrote:

> 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

guys... please use the official portsclean ! :)

included in the sysutils/portupgrade

 portsclean -h
portsclean 2.0.1 (2006/06/13)

usage: portsclean [-hCDDiLnPPQQq]

    -h, --help         Show this message
    -C, --workclean    Clean up working directories
---------------------------

-- 
grtjs,
albi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060827011319.902388ee.albi>