3 ms·
Also the -n and -P options to xargs. So you would do something like $ find . -name 'blah*' |wc -l 2000 $ find . -name 'blah*' |xargs -n 250 -P 8 ./
by gaius 17y ago
Also the -n and -P options to xargs. So you would do something like
$ find . -name 'blah*' |wc -l
2000
$ find . -name 'blah*' |xargs -n 250 -P 8 ./mangle
That'll spawn 8 copies of mangle, each with 250 blah files on its command line.