How To Uncompress The Most Popular Formats

This morning at work, a colleague who told me that a file could not apparently uncompres, the problem was that he used a binary that was not the right format for file compression used.

Here I put the format to decompress the most common compression formats;

– Uncompres .7z

> 7z x

– Uncompres .z

> uncompress .z

– Uncompres .tgz

> tar -xvzf archivo.tgz

– Uncompres .tar

> tar -xvf archivo.tar

– Uncompres .bz2

> bzip2 -d fichero.bz2

– Uncompres .tar.bz2

> tar jxvf archivo.tar.bz2

– Uncompres .gz

> gzip -d fichero.gz

– Uncompres .tar.gz

> tar zxf archivo.tar.gz

– Uncompres .rar

> rar x archivo.rar

– Uncompres .lha

> lha x archivo.lha

– Uncompres .zip

> unzip

– Uncompres .arj

> unarj archivo.arj

– Uncompres .zoo

> zoo x archivo.zoo



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s