Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1016 Bytes

README.md

File metadata and controls

49 lines (41 loc) · 1016 Bytes

FileCompressor

A basic file compressor that uses Huffman compression.

Dependency

Building

git clone https://github.com/leofracca/FileCompressor
cd FileCompressor
mkdir build
cd build
cmake ..
make

Usage

./fileCompressor path/to/input/file OPTION [path/to/output/file]

Example

# Compress the file foo.txt
# (it automatically generates the output file foo.txt.compressed,
# since no output file is given)
./fileCompressor foo.txt -c
# Decompress the file foo.txt.compressed and generate bar.txt
./fileCompressor foo.txt.compressed -d bar.txt

For a list of all possible options use

./fileCompressor -h

Documentation

make docs

References