diff options
Diffstat (limited to '')
-rw-r--r-- | doc/zutils.texinfo | 64 |
1 files changed, 57 insertions, 7 deletions
diff --git a/doc/zutils.texinfo b/doc/zutils.texinfo index 3902270..d6f724d 100644 --- a/doc/zutils.texinfo +++ b/doc/zutils.texinfo @@ -1,12 +1,12 @@ \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename zutils.info -@settitle Zutils +@settitle Zutils Manual @finalout @c %**end of header -@set UPDATED 5 October 2009 -@set VERSION 0.6 +@set UPDATED 21 October 2009 +@set VERSION 0.7 @dircategory Data Compression @direntry @@ -36,6 +36,7 @@ This manual is for Zutils (version @value{VERSION}, @value{UPDATED}). * Zcat:: Concatenating compressed files * Zcmp/Zdiff:: Comparing compressed files * Zgrep:: Searching inside compressed files +* Ztest:: Testing integrity of compressed files * Problems:: Reporting bugs * Concept Index:: Index of concepts @end menu @@ -53,10 +54,10 @@ to copy, distribute and modify it. Zutils is a collection of utilities for dealing with any combination of compressed and non-compressed files transparently. The supported -compressors are gzip, bzip2, lzip and xz. +compressors are bzip2, gzip, lzip and xz. -The currently provided utilities are zcat, zcmp, zdiff, zegrep, zfgrep -and zgrep. +The currently provided utilities are zcat, zcmp, zdiff, zegrep, zfgrep, +zgrep and ztest. @node Zcat @@ -93,6 +94,10 @@ Print an informative help message describing the options and exit. @itemx -V Print the version number of zcat on the standard output and exit. +@item --recursive +@itemx -r +Operate recursively on directories. + @end table @@ -121,7 +126,7 @@ Compares @var{file1} to @var{file2}. If @var{file2} is omitted and corresponding decompressed file name (removes the extension from @var{file1}). If @var{file2} is omitted and @var{file1} is not compressed, compares @var{file1} to the uncompressed contents of -@var{file1}.[gz|bz2|lz|xz] (the first one that is found). +@var{file1}.[bz2|gz|lz|xz] (the first one that is found). @var{diff_options} are passed directly to diff or cmp. The exit status from diff or cmp is preserved. @@ -192,6 +197,51 @@ Print the version number of zgrep on the standard output and exit. @end table +@node Ztest +@chapter Ztest +@cindex ztest + +Ztest verifies the integrity of the specified compressed files. +Non-compressed files are ignored. If no files are specified, the +integrity of compressed data read from standard input is verified. Data +read from standard input must be all compressed with the same compressor. + +The format for running ztest is: + +@example +ztest [@var{options}] [@var{files}] +@end example + +@noindent +The exit status is 0 if all files verify OK, 1 otherwise. + +Ztest supports the following options: + +@table @samp +@item --help +@itemx -h +Print an informative help message describing the options and exit. + +@item --version +@itemx -V +Print the version number of ztest on the standard output and exit. + +@item --quiet +@itemx -q +Quiet operation. Suppress all messages. + +@item --recursive +@itemx -r +Operate recursively on directories. + +@item --verbose +@itemx -v +Verbose mode. Show the verify status for each file processed. +Further -v's increase the verbosity level. + +@end table + + @node Problems @chapter Reporting Bugs @cindex bugs |