Skip to content

ethantena/lezip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lezip

lezip is a command-line compressor/decompressor using LZ4 frame format.

Features:

  • Streaming compression/decompression (small memory usage)
  • Pack/unpack directories into a tar archive and compress it
  • Read/write from stdin/stdout using -

Commands and examples

  • Compress a single file (creates file.txt.lez):
lezip compress file.txt
  • Decompress a single file (writes file.txt if possible):
lezip decompress file.txt.lez
  • Pack a directory into a compressed tar archive (creates dir.tar.lez):
lezip pack myfolder
  • Unpack an archive into the current directory:
lezip unpack myfolder.tar.lez
  • Use stdin/stdout with - (pipe-friendly):
cat file.txt | lezip compress - -o - > file.txt.lez
cat file.txt.lez | lezip decompress - -o - > file.txt

# pack/unpack over pipes
tar cf - myfolder | lezip pack - -o - > myfolder.tar.lez
cat myfolder.tar.lez | lezip unpack - -o - | tar xf -

Download precompiled linux version executable from realeases

And add it to your PATH

Notes

  • pack creates a tar archive and writes it through LZ4 frame encoder.
  • unpack reads an LZ4-framed tar archive and extracts files.
  • Using - for input/output allows chaining with other Unix utilities.

About

a compression tool made in rust for super fast compression

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors