.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.1. .TH ZTEST "1" "January 2019" "ztest (zutils) 1.8" "User Commands" .SH NAME ztest \- verify the integrity of compressed files .SH SYNOPSIS .B ztest [\fI\,options\/\fR] [\fI\,files\/\fR] .SH DESCRIPTION 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. .PP If no files are specified, recursive searches examine the current working directory, and nonrecursive searches read standard input. .PP The formats supported are bzip2, gzip, lzip and xz. .PP 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 2.1.1.2 '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. .PP 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. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .TP \fB\-M\fR, \fB\-\-format=\fR process only the formats in .TP \fB\-N\fR, \fB\-\-no\-rcfile\fR don't read runtime configuration file .TP \fB\-O\fR, \fB\-\-force\-format=\fR force given format (bz2, gz, lz, xz) .TP \fB\-q\fR, \fB\-\-quiet\fR suppress all messages .TP \fB\-r\fR, \fB\-\-recursive\fR operate recursively on directories .TP \fB\-R\fR, \fB\-\-dereference\-recursive\fR recursively follow symbolic links .TP \fB\-v\fR, \fB\-\-verbose\fR be verbose (a 2nd \fB\-v\fR gives more) .TP \fB\-\-bz2=\fR set compressor and options for bzip2 format .TP \fB\-\-gz=\fR set compressor and options for gzip format .TP \fB\-\-lz=\fR set compressor and options for lzip format .TP \fB\-\-xz=\fR set compressor and options for xz format .SH "REPORTING BUGS" Report bugs to zutils\-bug@nongnu.org .br Zutils home page: http://www.nongnu.org/zutils/zutils.html .SH COPYRIGHT Copyright \(co 2019 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.