Nothing Special   »   [go: up one dir, main page]

[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: bulk/pre-build
From:       Jan Schaumann <jschauma () netmeister ! org>
Date:       2006-08-23 18:23:20
Message-ID: 20060823182319.GA7067 () netmeister ! org
[Download RAW message or body]


Ignatios Souvatzis <is@netbsd.org> wrote:
> On Tue, Aug 22, 2006 at 10:38:00AM -0400, Jan Schaumann wrote:
> > Hubert Feyrer <hubert@feyrer.de> wrote:
> 
> > > But can you use xargs(1) to speed things up a bit?
> > > 
> > > find ${BULKFILESDIR} \( -name $BROKENF -o -name $BRKWRKLOG \
> > > 	-o -name $BLDLOG \) print \
> > > | xargs rm -f
> > 
> > If that's actually faster, then yeah, sure.
> 
> Shouldn't we add -n 32 or something like that to xargs?

I'd expect the xargs for each OS to DTRT by default.  Are there OSs that
come with an xargs that passes more than the max possible number to the
other tools?  If not, then I think passing "-n 32" would be
unneccessary.

-Jan

-- 
Defending Freedom in the Digital World:
   --- Electronic Frontier Foundation -- http://www.eff.org ---

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic