Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:ressources:astuces:xargs [2011/03/16 00:30] (current)
Line 1: Line 1:
 +====== Some fun with XARGS ======
 +
 +===== Run a task on 16 processors =====
 +
 +<code bash>
 +$ ls *.txt |xargs -P 16 -n 1 bzip2 -9
 +</​code>​
 +
 +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