[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for parallel find -exec

From: Steffen Möller
Subject: Re: request for parallel find -exec
Date: Mon, 28 Jun 2010 01:49:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100620 Icedove/3.0.5

On 06/27/2010 07:51 PM, James Youngman wrote:
> On Sun, Jun 27, 2010 at 1:29 PM, Steffen Möller <address@hidden> wrote:
>> Hello,
>> I googled around but have not found any such request mentioned before. I'd 
>> want to run
>> find . -name "*.csv" -exec gzip {} +
>> in parallel. I was looking in "man find" for a make-like -j, did /arallel 
>> but nothing popped up. I found then later xargs' -P
>> option (great, I'll use that next time) and GNU Parallel somewhen later. So, 
>> the technology and the CLI for those tools are all
>> long available.
> Sounds like you have a choice of technologies.
>>  However, I'd rather strongly suggest to have parallel execution integrated 
>> more visibly with find.
> Why?

Good question. Maybe because as a recent convert from xargs to find's -exec I 
want to continue using it.
And I had the feeling that it is only now with the omnipresence of four+ cores 
everywhere that there is
an increasing demand for this.

>> The SEE ALSO section of the man page could have a pointer at least.
> To what?   It contains a pointer to xargs.

Then just say that it also allows the parallel execution, which find itself is 
not offering. Yes, it is obvious once you know it.
I just want to help making this known more. It is this kind of things that 
could (if described :) ) come so very natural with
Linux and remain unachievable with some other OS and everyone understands it 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]