lz4
Compress or decompress .lz4 files. More information: <https://github.com/lz4/lz4>.
Install
- All systems
-
curl cmd.cat/lz4.sh
- Debian
-
apt-get install lz4 - Ubuntu
-
apt-get install lz4 -
Alpine
-
apk add lz4 - Arch Linux
-
pacman -S lz4 - Kali Linux
-
apt-get install lz4 - CentOS
-
yum install lz4 - Fedora
-
dnf install lz4 - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install lz4 - OS X
-
brew install lz4 - Raspbian
-
apt-get install lz4 - Docker
-
docker run cmd.cat/lz4 lz4powered by Commando
Compress or decompress .lz4 files. More information: <https://github.com/lz4/lz4>.
-
Compress a file:
lz4 path/to/file -
Decompress a file:
lz4 -d file.lz4 -
Decompress a file and write to `stdout`:
lz4 -dc file.lz4 -
Package and compress a directory and its contents:
tar cvf - path/to/directory | lz4 - dir.tar.lz4 -
Decompress and unpack a directory and its contents:
lz4 -dc dir.tar.lz4 | tar -xv -
Compress a file using the best compression:
lz4 -9 path/to/file
© tl;dr; authors and contributors