Date: Mon, 11 Jun 2012 14:34:09 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-hackers@freebsd.org Subject: Re: cleaning /usr/obj before copying it to USB key Message-ID: <20120611123409.GA1950@tiny> In-Reply-To: <20120611072402.GL5592@e-new.0x20.net> References: <20120609143521.GA3940@tinyCurrent> <79C2B8B9-9A7E-4793-AE03-FE387BB1694B@kientzle.com> <20120610130758.74a8b65b@desktop.pc> <20120611072402.GL5592@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Monday, June 11, 2012 a las 09:24:02AM +0200, Lars Engels escribió:
> On Sun, Jun 10, 2012 at 01:07:58PM +0300, Aldis Berjoza wrote:
> > On Sat, 9 Jun 2012 08:57:33 -0700
> > Tim Kientzle <tim@kientzle.com> wrote:
> >
> > >
> > > You can delete all of the '.o' files using a command like this:
> > >
> > > find /usr/obj -name '*.o' | xargs rm
> > >
> >
> >
> > I think:
> > find /usr/obj -name '*.o' -delete
> > is much better
>
> Or:
> find /usr/obj -name '*.o' -exec rm {} \+
Thanks for the hints concerning find(1) usage. I was wondering if there
is nothing like
# make install-clean
or
# make remove-tempfiles
Thanks
matthias
--
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120611123409.GA1950>
