摘要:
1. gzipgzip是GNU的压缩程序。它只对单个文件进行压缩。基本用法如下:$ gzip filename程序执行以后,文件名会变成filename.gz,而且一般情况下大小会比原文件要小。注意,程序并不新建一个新的文件filename.gz, 而是将filename变成filename.gz。这个基本用法考虑了压缩时间和压缩后文件尺寸的平衡问题(注:如果要使压缩后的文件更小,就需要用到更多的时间)。要得到最小文件大小(最大压缩),可以使用如下用法:$ gzip -9 filename这样就可以得到gzip能够压缩的最小文件尺寸,但是需要更长的压缩时间。上面的数字越小,压缩就越快,相反压缩 阅读全文
posted @ 2012-09-06 14:36
fork_thread
阅读(261)
评论(0)
推荐(0)
摘要:
具体的可以在linux环境下 用tar --help查看详细说明格式:tar [option] file -c create create a new archive -x extract extract files from an archive -t list list the contents of an archive其中c/x/t不能同时存在 -z --gzip, --gunzip, --ungzip filter the archive through gzip -j, --bzip2 filter the archive through bzip2 -f, --file=ARCH 阅读全文
posted @ 2012-09-06 14:13
fork_thread
阅读(473)
评论(0)
推荐(0)
浙公网安备 33010602011771号