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

Date: 2017-12-26 13:07:19

Author: JerryZhang