Une petite synthèse pour décompresser/extraire des fichiers sous Linux
Zip
unzip myzip.zip
Rar
unrar x archive.rar
Gunzip
gzip -d filename.gz
gunzip -k filename.gz //-k keep (don't delete) original file .gz
zcat filename.gz > filename
Bzip2
bzip2 -d filename.bz2 // This command will not preserve original archive file
bzip2 -dk filename.bz2 // To preserve the original file
Tar
tar xvf file.tar
Tar + Gzip
tar -xzvf archive.tar.gz
Tar + Bz2
tar -xjvf archive.tar.bz2
Tar + Xz
tar -xJvf archive.tar.xz
This work is licensed under a Creative Commons Attribution 4.0 International License.