文件压缩工具集-Zutils
Zutils是一组用来处理压缩文件的工具集,支持的压缩档包括:gzip, bzip2, lzip, and xz. 当前版本提供的命令有:zcat, zcmp, zdiff, and zgrep.它是用shell脚本编写并在GPLv3协议下授权。Zutils is a collection of utilities able to deal with any combination of compressed and uncompressed files transparently. If any given file, including standard input, is compressed, its decompressed content is used. Compressed files are decompressed on the fly; no temporary files are created.
These utilities are not wrapper scripts but safer and more efficient C++ programs. In particular the "--recursive" option is very efficient in those utilities supporting it.
The provided utilities are:
Zcat - Decompresses and copies files to standard output.
Zcmp - Decompresses and compares two files byte by byte.
Zdiff - Decompresses and compares two files line by line.
Zgrep - Decompresses and searches files for a regular expression.
Ztest - Tests integrity of compressed files.
The supported formats are bzip2, gzip, lzip and xz.
The compressor to be used for each format is configurable at runtime.
最新版本:1.2
增加新工具zupdate,可重新压缩bzip2、gzip、xz文件到lzip格式。增加新的参数 "--bz2", "--gz", "--lz" and "--xz" ,提供运行时配置文件 zutilsrc ,改进压缩器的退出状态检查,完善了文档。
项目主页:http://www.nongnu.org/zutils/zutils.html