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: 2021-11-15 Mon 10:18
Power by Emacs 27.2 (Org mode 9.4.6)