Difference between revisions of "Xz -T0"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  xz -T0
 
  xz -T0
  
  DIR="YOUR_DIR" [[bash -c]] 'tar c "$DIR" | xz -T0 -c > "$DIR".tar.xz && ls -lh "$DIR".tar.xz'
+
  DIR="YOUR_DIR" [[bash -c]] '[[tar c]] "$DIR" | xz -T0 -c > "$DIR".tar.xz && ls -lh "$DIR".tar.xz'
  
 
== Activities ==
 
== Activities ==
* Compress your file using single thread xz and compress same file using all your available threads [[xz]] -T0
+
* Compress your file using single [[thread]] xz and compress same file using all your available threads [[xz]] -T0
 +
 
 +
== Related ==
 +
* <code>[[parallel -j]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:37, 14 August 2024

xz -v -T0 file_to_compress.tar
xz -T0
DIR="YOUR_DIR" bash -c 'tar c "$DIR" | xz -T0 -c > "$DIR".tar.xz && ls -lh "$DIR".tar.xz'

Activities[edit]

  • Compress your file using single thread xz and compress same file using all your available threads xz -T0

Related[edit]

See also[edit]

Advertising: