On 06/27/2010 07:51 PM, James Youngman wrote: > On Sun, Jun 27, 2010 at 1:29 PM, Steffen Möller <[email protected]> > 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 immediately. Cheers, Steffen
