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-08-23 Tue 18:22
Power by Emacs 27.1 (Org mode 9.5.4)