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

Re: how to refrain only use certain number of processors



On 31/01/2012 03:19, Cam Hutchison wrote:
seq 0 108 | xargs -I@ -P8 cat A_@.txt B_@.txt C_@.txt -o ABC_@.txt

Of course, this is (since cat -o doesn't exist):

  seq 0 108 | xargs -I@ -P8 cat A_@.txt B_@.txt C_@.txt > ABC_@.txt

but "> ABC_@.txt" is out of the scope of xargs.

Nicolas


Reply to: