CLI – pkg.tar.gz tar.xz tar.bz2
— — — — — — — — pkg.tar.xz — — — — — — — — — —
bash ‘/run/media/usernkv/Bureau/playonlinux-4.2.10-1-any.pkg.tar.xz’ – utilisé le 29 déc. 2016
Comment extraire un fichier compressé .tar.gz (ou .tar.bz2 ou .tar.xz) ?
- tar xzf file.tar.gz
- tar xjf file.tar.bz2
- tar xJf file.tar.xz
Si vous ne voulez pas visualiser les fichiers en cours d’extraction lors du déballage, ajoutez v.
Exemple:
- tar xzvf file.tar.gz
- -x : extract
- -v : verbose: show what is being extracted
- -j : type of compression (bzip2)
- -J : type of compression (xz, lzip)
- -z : type of compression (gz)
- -f : ‘next comes the filename’