lz4 Command Examples

Compress or decompress .lz4 files. More information: https://github.com/lz4/lz4.

lz4 {{path/to/file}}

lz4 -d {{file.lz4}}

lz4 -dc {{file.lz4}}

tar cvf - {{path/to/directory}} | lz4 - {{dir.tar.lz4}}

lz4 -dc {{dir.tar.lz4}} | tar -xv

lz4 -9 {{path/to/file}}