There are some algorithm about file-compression.
lw@lw-ThinkPad-T420:~/compression-algs$ huffman --help
Usage:
huffman [OPTION...] - command line options
-c, --compress Compress file
-e, --expand Expand compressed file
-s, --static Use static huffman coding
-a, --adaptive Use adaptive huffman coding
-i, --input arg Input file
-o, --output arg Output file (default:Processed.out)
-h, --help Print help