It can be:
cd /usr/ports
rm -rf */*/work
[]s
On 8/26/06, Rick C. Petty [EMAIL PROTECTED] 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
Thiago Damas [EMAIL PROTECTED] wrote:
It can be:
cd /usr/ports
rm -rf */*/work
That could overflow your argument verctor if there's a
large number of work directories.
It's better to use echo */*/work | xargs rm -rf if
you don't know the size of the pattern expansion in
advance,
Richard Coleman wrote:
Oliver Fromme wrote:
The following is probably the most efficient solution.
It doesn't run into all subdirectories (and works with
an arbitrary numebr of subdirectories).
cd /usr/ports; echo */*/work | xargs rm -rf
So does this:
find /usr/ports
On Tue, Aug 29, 2006 at 12:00 [EMAIL PROTECTED]
saw Error reading FAT table? Try SKINNY table? And promptly
said:
Date: Mon, 28 Aug 2006 18:18:58 +0200 (CEST)
From: Oliver Fromme [EMAIL PROTECTED]
Subject: Re: A handy utility (at least for me)
Rick C. Petty wrote:
Mario Lobo wrote
- Original Message -
From: Bill Vermillion [EMAIL PROTECTED]
To: freebsd-hackers@freebsd.org
Sent: Tuesday, August 29, 2006 12:24 PM
Subject: Re: A handy utility (at least for me)
On Tue, Aug 29, 2006 at 12:00 [EMAIL PROTECTED]
saw Error reading FAT table? Try SKINNY table
In message: [EMAIL PROTECTED]
Rick C. Petty [EMAIL PROTECTED] writes:
: 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
In message: [EMAIL PROTECTED]
Dirk Engling [EMAIL PROTECTED] writes:
: Rick C. Petty 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
Rick C. Petty wrote:
Mario Lobo wrote:
My /usr/ports directory was occuping 24 gigs, of which 20 was just from
the
'work' directories !
You should type make clean more often. ;-)
Removing them one by one was a pain so I wrote this little utility to wipe
them off.
I
On Mon, Aug 28, 2006 at 06:18:58PM +0200, Oliver Fromme wrote:
Rick C. Petty wrote:
I find that the following command works just fine for me:
find /usr/ports -type d -name work -prune -print -delete
The following is probably the most efficient solution.
It doesn't run into all
In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed:
On Mon, Aug 28, 2006 at 06:18:58PM +0200, Oliver Fromme wrote:
Rick C. Petty wrote:
I find that the following command works just fine for me:
find /usr/ports -type d -name work -prune -print -delete
The following is probably
On Mon, Aug 28, 2006 at 02:18:48PM -0400, Mike Meyer wrote:
If echo is a shell built in, then it works just fine, and the xargs
insures that you don't try passing to many arguments to rm.
Ah! I was mistaken; I didn't think about builtins not requiring argument
passing.
Also I don't see
Oliver Fromme wrote:
The following is probably the most efficient solution.
It doesn't run into all subdirectories (and works with
an arbitrary numebr of subdirectories).
cd /usr/ports; echo */*/work | xargs rm -rf
Best regards
Oliver
So does this:
find /usr/ports -mindepth 3 -maxdepth
Hi;
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.
If you find it useful, pass it on. Its not a big deal but thanks for keeping
the credits on it.
Last but
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
On Sat, Aug 26, 2006 at 07:19:06PM -0300, Mario Lobo wrote:
If you find it useful, pass it on. Its not a big deal but thanks for keeping
the credits on it.
Actually, it is a big deal for some people. Why the GPL?
You are posting to a FreeBSD list.
--
Steve
Hello Mario,
Sunday, August 27, 2006, 12:19:06 AM, you wrote:
Hi;
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.
try portsclean(1) which IIRC belongs to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick C. Petty 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
On Saturday 26 August 2006 20:01, you wrote:
Actually, it is a big deal for some people. Why the GPL?
You are posting to a FreeBSD list.
You're right, but I build it in kdevelop and it put it there so I felt I
should leave it there.
--
Mario Lobo
http://www.mallavoodoo.com.br
99% rwindows
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roman Kurakin wrote:
A bit rude, but also works
cd /usr/ports make clean
This one takes ages, every port is being cleaned which in turn cleans
every dependency, so low level ports will be make cleaned thousand
times. Better would be
for port
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.
On Sun, 27 Aug 2006 03:12:52 +0400
Roman Kurakin [EMAIL PROTECTED] 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
* albi [EMAIL PROTECTED] [2006-08-27 01:13 +0200]:
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
On Sun, Aug 27, 2006 at 01:13:19AM +0200, albi wrote:
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 ! :)
albi:
On Sun, 27 Aug 2006 03:12:52 +0400
Roman Kurakin [EMAIL PROTECTED] 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
In [EMAIL PROTECTED], Mario Lobo [EMAIL PROTECTED] typed:
Hi;
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.
Setting WORDIRPREFIX in /etc/make.conf
26 matches
Mail list logo