Manual Decompress

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 1

DECOMPRESS(1) DECOMPRESS(1)
NAME
decompress – extract files stored using the HAF (HuffmanArchive Format)
SYNOPSIS
decompressfile
DESCRIPTION
decompresswill openfileas a HAF file, assuming it possessesan“.hf”suffix, and try to
extract it tofiledeprived of its “.hf” suffix. A companion program,compress(1), will create
such HAF files. This program will stay silent unless an error occurs, to be easily integrated
in scripts or helper programs.
ARGUMENTS
file
Path of the file to extract. This file MUST be suffixed by“.hf”. Itsbehaviouris
undefined otherwise. This file muststrictlyfollow the HAF document structure
described in the project specification. Any failure to respect this format may lead to
undefined behaviour too.
EXAMPLES
To usedecompressto extract the filetest.txt.hfin thesubdirectory data/to the file text.txt in
the current directory:
decompress data/test.txt.hf
ERRORS
This program may fail in case the file size is inferior to 3 characters, if the number of
command line arguments is inferior to two (it expects to receive its own name and the file it
must operate on), or if the file is invalid or corrupted. An error will be returned to the user in
that case.
BUGS
Unknown at this moment. Please contact us if you findsome!
BUG REPORTS
Reports bugs to <contact@nightmared.fr>
SEE ALSO
unzip(1),tar(1),xz(1),gunzip(1)
AUTHORS
Simon Thoby
DECOMPRESS December 17, 2018 DECOMPRESS(1)

Navigation menu