cleaning /usr/obj before copying it to USB key

Lars Engels lars.engels at 0x20.net
Mon Jun 11 07:24:05 UTC 2012


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 {} \+

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120611/fd84f614/attachment.pgp


More information about the freebsd-hackers mailing list