gzip test.txt
gzip -d test.txt.gz
gzip -l test.txt.gz --- to display the compress ratio
bzip2 test.txt
bzip2 -d test.txt.bz2
unzip test.zip
uzip -l test.zip ----view the contents of *.zip file
zip test *.* --- zip all files to test.zip file
zip dir dir --- zip dir to dir.zip
zip -r dir dir --- zip all entire files to dir.zip file
zip -j dir dir/* ---without recording directory name
阅读(397) | 评论(0) | 转发(0) |