Difference between revisions of "Xz -T0"

From wikieduonline
Jump to navigation Jump to search
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 ==

Revision as of 09:42, 19 January 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

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

See also

Advertising: