tar

Table of Contents

1. tar

  • 打包: tar cvf filename.tar filename
  • 解包: tar xvf filename.tar

2. gz

  • 解压: gunzip filename.gz 或者 gzip -d filename.tar
  • 压缩: gzip filename

3. tar.gz tgz

  • 解压: tar zxvf filename.tar.gz
  • 压缩: tar zcvf filename.tar.gz filename

4. tar.xz

tar -xvJf filename.tar.xz

First created: 2017-12-26 13:07:19
Last updated: 2022-12-11 Sun 12:49
Power by Emacs 29.0.91 (Org mode 9.6.6)