【gzip】 流行的压缩程序【linux】
创建一个压缩文件 *.gz
gzip test.txt
创建一个压缩文件到指定的位置 -c 标准输出
gzip -c test.txt > test_custom.txt.gz
解压文件
gzip -d test.txt.gz
使用gzip-l显示压缩文件的压缩比
gzip -l *.gz
递归压缩指定目录下的所有文件
gzip -r documents_directory
创建*.gz压缩文件并保留原始文件
gzip < test.txt > test.txt.gz
【gzip】 a popular data compression program【linux】
To create a *.gz compressed file
gzip test.txt
To create a *.gz compressed file to a specific location using -c option (standard out)
gzip -c test.txt > test_custom.txt.gz
To uncompress a *.gz file
gzip -d test.txt.gz
Display compression ratio of the compressed file using gzip -l
gzip -l *.gz
Recursively compress all the files under a specified directory
gzip -r documents_directory
To create a *.gz compressed file and keep the original
gzip < test.txt > test.txt.gz
腾图小抄 SCWY.net v0.03 小抄561条 自2022-01-02访问367926次