tar|tar.gz

tar.gz entpacken

tar -zxvf file.tar.gz

tar entpacken

tar -xvf file.tar

tar packen

tar -cvf output.tar /dirname1 /dirname2 filename1 filename2

Parallele Komprimierung

Befehle
gz tar -czf tarball.tgz files
bz2 tar -cjf tarball.tbz files
xz tar -cJf tarball.txz files
Performance
  gzip bzip2  xz
Single-thread 17.466s 50.004s 3m54.735s
Multi-thread 4.623s 13.818s 1m10.181s
normal  3.78x 3.62x  3.34x

 

Back to top