圧縮/非圧縮 archive の展開の仕方

*.xx は wild card を表わす。各コマンドの詳細は man を参照せよ。
filename pattern command to archive command to extract
*.Z compress uncompress, zcat
*.gz gzip gunzip, gzip -d, zcat
*.bz2 bzip2 bunzip2, bzcat
*.tar.Z, *.taz tar+compress tar(gnu) -zxf
*.tar.gz, *.tgz tar(gnu) -zcf tar(gnu) -zxf
*.tar.bz2 tar(gnu+bzip2-patch) -ycf tar(gnu+bzip2-patch) -yxf
*.lzh lha alha x
*.zip zipunzip

その他, zoo, arj, rar(unrar) などがある。 適時 man を参照せよ。


Yoshitomi Kentaro
Last modified: Thu Apr 29 14:48:03 JST 1999