From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 11 12:34:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6A961065687 for ; Mon, 11 Jun 2012 12:34:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0BB218FC12 for ; Mon, 11 Jun 2012 12:34:21 +0000 (UTC) Received: from [82.113.121.31] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Se3oy-0003Ik-Dv for freebsd-hackers@freebsd.org; Mon, 11 Jun 2012 14:34:13 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q5BCYAOw001970 for ; Mon, 11 Jun 2012 14:34:10 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q5BCY9vg001969 for freebsd-hackers@freebsd.org; Mon, 11 Jun 2012 14:34:09 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 11 Jun 2012 14:34:09 +0200 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20120611123409.GA1950@tiny> References: <20120609143521.GA3940@tinyCurrent> <79C2B8B9-9A7E-4793-AE03-FE387BB1694B@kientzle.com> <20120610130758.74a8b65b@desktop.pc> <20120611072402.GL5592@e-new.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120611072402.GL5592@e-new.0x20.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.31 Subject: Re: cleaning /usr/obj before copying it to USB key X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 12:34:24 -0000 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 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 - 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