the best compression tool in linux

I try to compare which compression tool that result the smallest file size in linux. I compare tar.gz, tar.bz2, and xz so this is my opinion :
$tar cvjf result.tar.bz2 source
$tar cvJf result.tar.xz source

I prefer bz2 for regular compression and xz for backup compression.

source :

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.