leafiy
5/18/2018 - 6:53 PM

tar #shell

none

压缩成gzip文件:

tar -zcvf shell.tar.gz shell/
将gzip文件解压:

tar -zxvf shell.tar.gz
压缩为bz2文件:

tar -jcvf shell.tar.bz2 shell/
将bz2文件解压:

tar -jxvf shell.tar.bz2