Compression Basics under Linux

Compressing files and folders on linux is not always an easy task. This is mainly due to the lack and impracticability of compressing GUI tools under linux.
Basicly the most easy way is to use gnuzip (gz) in conjuncion with tar. This can be done either in 2 steps (first create a tar container and then gzip this container) or directly using the corresponding switches from tar

Another option would be to use one of the other very popular compression tools. An example would be 7z, which also brings its own container (ommiting the need for tar’ing the folder). But this also has some downsides. The usage is simple:

the -mmt=4 option is used for multithreaded compression. This however does not always have the desired effect.

Refrences:

One thought on “Compression Basics under Linux”

  1. I refused to read the article as I was so outraged by the headline but my response is unambiguous! Are we opressing Bradley Manning more by imprisoning him, or by forcing him to live as a man? But how can we expect things to improve whilst China are still in Tibet!

Leave a Reply

Your email address will not be published. Required fields are marked *