Get Mystery Box with random crypto!

[COMPRESSION] File compression is one of the most common tasks | LinuxCheatSheet

[COMPRESSION] File compression is one of the most common tasks done by many of us.
Different algorithms has been developed to do so, from the old good Zip to the modern 7zip/xz. One lesser know method is called Zstandard, and is available in main Linux distributions installing the zstd package.
It was developed by Facebook to be fast and to have a good compression ratio, you can find more information on their site: http://facebook.github.io/zstd/
If you want to use it with tar you can use the -I option to specify compression program:
tar -I zstd -cf archivename.tar.zst dir_to_compress/
I found it very useful in example when I have to compress huge log files, and move them across the Internet.

I hope you like it! Share the channel with your friends: http://t.me/linuxcheatsheet
Bye
G.