.\" Copyright (c) 2020 Peter Pentchev .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions are met: .\" .\" 1. Redistributions of source code must retain the above copyright notice, .\" this list of conditions and the following disclaimer. .\" .\" 2. Redistributions in binary form must reproduce the above copyright notice, .\" this list of conditions and the following disclaimer in the documentation .\" and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE .\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd May 31, 2020 .Dt UNZCK 1 .Os .Sh NAME .Nm unzck .Nd decompress a file in the zchunk format .Sh SYNOPSIS .Nm .Op Fl c | Fl -stdout .Op Fl -dict .Op Fl v | Fl -verbose .Ar file .Nm .Fl ? | Fl -help .Nm .Fl -usage .Nm .Fl -version .Sh DESCRIPTION The .Nm utility extracts the original file from a zchunk-compressed one. .Pp .Em NOTE: The .Nm utility will place the new file without the .Pa .zck extension in the .Em current working directory, not in the directory where the original file resides. .Pp The .Nm utility accepts the following optional arguments: .Pp .Bl -tag -width indent .It Fl c , Fl -stdout Extract the data to the standard output stream, do not write it to a file. .It Fl -dict Only extract the zstd compression dictionary. .It Fl v , Fl -verbose Verbose operation; display some diagnostic output. .It Fl ? , Fl -help Display program usage information and exit. .It Fl -usage Display brief program usage information and exit. .It Fl -version Display program version information and exit. .El .Sh EXIT STATUS .Ex -std .Sh EXAMPLES Create (in the current directory) an uncompressed .Pa words file from a compressed one: .Pp .Dl unzck /mnt/xfer/words.zck .Pp Do not create the .Pa words file, but send the contents to the standard output stream: .Pp .Dl unzck -c /mnt/xfer/words.zck .Pp .Sh SEE ALSO .Xr zck 1 , .Xr zck_delta_size 1 , .Xr zck_gen_zdict 1 , .Xr zck_read_header 1 , .Xr zckdl 1 .Sh AUTHOR The .Nm utility was written by .An Jonathan Dieter Aq jdieter@gmail.com . This manual page stub was written by .An Peter Pentchev Aq roam@ringlet.net .