cleaning /usr/obj before copying it to USB key
Matthias Apitz
guru at unixarea.de
Mon Jun 11 12:34:24 UTC 2012
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 at 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 at 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
More information about the freebsd-hackers
mailing list