Contents | |
---|---|
.tar | |
.gz | .tar.gz |
.bz | .tar.bz |
.bz2 | .tar.bz2 |
.xz | .tar.xz |
.Z | .tar.Z |
.tgz | .tar.tgz |
.7z | .zip |
.rar | .lha |
[ jonny@linux ~ ]
$ tar cvf FileName.tar DirName
[ jonny@linux ~ ]
$ tar xvf FileName.tar
[ jonny@linux ~ ]
$ gzip FileName
[ jonny@linux ~ ]
$ gunzip FileName.gz
[ jonny@linux ~ ]
$ gzip -d FileName.gz
[ jonny@linux ~ ]
$ tar zcvf FileName.tar.gz DirName
[ jonny@linux ~ ]
$ tar zxvf FileName.tar.gz
[ jonny@linux ~ ]
$ bzip2 -d FileName.bz
[ jonny@linux ~ ]
$ bunzip2 FileName.bz
[ jonny@linux ~ ]
$ tar jxvf FileName.tar.bz
[ jonny@linux ~ ]
$ bzip2 -z FileName
[ jonny@linux ~ ]
$ bzip2 -d FileName.bz2
[ jonny@linux ~ ]
$ bunzip2 FileName.bz2
[ jonny@linux ~ ]
$ tar jcvf FileName.tar.bz2 DirName
[ jonny@linux ~ ]
$ tar jxvf FileName.tar.bz2
[ jonny@linux ~ ]
$ xz -z FileName
[ jonny@linux ~ ]
$ xz -d FileName.xz
[ jonny@linux ~ ]
$ tar Jcvf FileName.tar.xz DirName
[ jonny@linux ~ ]
$ tar Jxvf FileName.tar.xz
[ jonny@linux ~ ]
$ compress FileName
[ jonny@linux ~ ]
$ uncompress FileName.Z
[ jonny@linux ~ ]
$ tar Zcvf FileName.tar.Z DirName
[ jonny@linux ~ ]
$ tar Zxvf FileName.tar.Z
[ jonny@linux ~ ]
$ tar zcvf FileName.tgz FileName
[ jonny@linux ~ ]
$ tar zxvf FileName.tgz
[ jonny@linux ~ ]
$ tar zcvf FileName.tar.tgz FileName
[ jonny@linux ~ ]
$ tar zxvf FileName.tar.tgz
[ jonny@linux ~ ]
$ 7z a FileName.7z FileName
[ jonny@linux ~ ]
$ 7z a FileName.7z FileName -pPASSWORD
[ jonny@linux ~ ]
$ 7z x FileName.7z
[ jonny@linux ~ ]
$ zip -r FileName.zip DirName
[ jonny@linux ~ ]
$ unzip FileName.zip
[ jonny@linux ~ ]
$ rar a FileName.rar DirName
[ jonny@linux ~ ]
$ rar e FileName.rar
[ jonny@linux ~ ]
$ unrar e FileName.rar
[ jonny@linux ~ ]
$ rar x FileName.rar DirName
[ jonny@linux ~ ]
$ lha -a FileName.lha FileName
[ jonny@linux ~ ]
$ lha -e FileName.lha
聯(lián)系客服