Some fun with XARGS

Run a task on 16 processors

$ ls *.txt |xargs -P 16 -n 1 bzip2 -9

takes all .txt file and bzip them separatly

en/ressources/astuces/xargs.txt · Last modified: 2011/03/16 00:30 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0