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 01:30 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0