Provided by: zutils_1.8-3_amd64
ztest - verify the integrity of compressed files
ztest [options] [files]
Ztest verifies the integrity of the specified compressed files. Uncompressed files are ignored. If a file is specified as '-', the integrity of compressed data read from standard input is verified. Data read from standard input must be all in the same compression format. If no files are specified, recursive searches examine the current working directory, and nonrecursive searches read standard input. The formats supported are bzip2, gzip, lzip and xz. Note that error detection in the xz format is broken. First, some xz files lack integrity information. Second, not all xz decompressors can verify the integrity of all xz files. Third, section 220.127.116.11 'Stream Flags' of the xz format specification allows xz decompressors to produce garbage output without issuing any warning. Therefore, xz files can't always be verified as reliably as files in the other formats can. Exit status is 0 if all compressed files verify OK, 1 if environmental problems (file not found, invalid flags, I/O errors, etc), 2 if any compressed file is corrupt or invalid.
-h, --help display this help and exit -V, --version output version information and exit -M, --format=<list> process only the formats in <list> -N, --no-rcfile don't read runtime configuration file -O, --force-format=<fmt> force given format (bz2, gz, lz, xz) -q, --quiet suppress all messages -r, --recursive operate recursively on directories -R, --dereference-recursive recursively follow symbolic links -v, --verbose be verbose (a 2nd -v gives more) --bz2=<command> set compressor and options for bzip2 format --gz=<command> set compressor and options for gzip format --lz=<command> set compressor and options for lzip format --xz=<command> set compressor and options for xz format
Report bugs to email@example.com Zutils home page: http://www.nongnu.org/zutils/zutils.html
Copyright © 2019 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.