blu.org  wiki

 « Return to Thread: Looking for a quick script solution

Re: Looking for a quick script solution

by Richard Pieri :: Rate this Message:

Reply to Author | View in Thread

On Jun 25, 2009, at 11:03 PM, Gordon Marx wrote:
> That's actually the behavior of find's -exec option. xargs is smarter
> than that -- it executes command lines that are as near as possible to
> the maximum length each time.


You are correct.  I had forgotten.  I knew there was a reason for  
using xargs rather than, say:

   find . -name "*.gz" -exec gunzip {} \;

--Rich P.

_______________________________________________
Discuss mailing list
Discuss@...
http://lists.blu.org/mailman/listinfo/discuss

 « Return to Thread: Looking for a quick script solution