Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 18:30:24 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
Cc:        j mckitrick <jcm@FreeBSD-uk.eu.org>, questions@freebsd.org
Subject:   Re: better than 'make clean'
Message-ID:  <20000714183024.E237@parish>
In-Reply-To: <20000714132046.D3287@physics.iisc.ernet.in>; from rsidd@physics.iisc.ernet.in on Fri, Jul 14, 2000 at 01:20:46PM %2B0530
References:  <20000714045027.A2409@dogma.freebsd-uk.eu.org> <20000714132046.D3287@physics.iisc.ernet.in>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 14, 2000 at 01:20:46PM +0530, Rahul Siddharthan wrote:
> j mckitrick said on Jul 14, 2000 at 04:50:28:
> > 
> > i searched my saved mail, and i can't find it.
> > 
> > i saw a better method to delete work directories/files than make clean.
> > does anyone know offhand what that was?
> 
> rm -rf /usr/ports/*/*/work ?  :-)
> Takes a long time, but if you've not been doing "make clean" regularly
> and have forgotten what you made last, this will do it.  But "make
> clean" works fine otherwise, cleans the dependencies too, I can't
> imagine what would be faster.
> 

I just run ``find /usr/ports -type d -a -name work''

Then just cd to the parent of each found work dir and do a make
clean. I keep intending to put it in a script, but....

> Rahul.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:marko@freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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