Manual Decompress
User Manual:
Open the PDF directly: View PDF
.
Page Count: 1

DECOMPRESS(1) DECOMPRESS(1)
NAME
decompress – extract files stored using the HAF (HuffmanArchive Format)
SYNOPSIS
decompressfile
DESCRIPTION
decompresswill openfileas a HAF file, assuming it possessesan“.hf”suffix, and try to
extract it tofiledeprived 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”. Itsbehaviouris
undefined otherwise. This file muststrictlyfollow the HAF document structure
described in the project specification. Any failure to respect this format may lead to
undefined behaviour too.
EXAMPLES
To usedecompressto extract the filetest.txt.hfin thesubdirectory 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 findsome!
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)