This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| informatique:linux:commandes [2025/05/15 07:44] – yahiko | informatique:linux:commandes [2025/08/26 13:06] (current) – yahiko | ||
|---|---|---|---|
| Line 108: | Line 108: | ||
| </ | </ | ||
| Où '' | Où '' | ||
| + | |||
| + | ===== Compresser / décompresser en tar.gz ===== | ||
| + | |||
| + | ==== Compresser ==== | ||
| + | |||
| + | <code bash> | ||
| + | tar -czf nom_archive.tar.gz dossier/ | ||
| + | </ | ||
| + | |||
| + | ==== Décompresser ==== | ||
| + | |||
| + | <code bash> | ||
| + | tar -xzf nom_archive.tar.gz | ||
| + | </ | ||
| + | |||
| + | Vers un dossier spécifique | ||
| + | <code bash> | ||
| + | tar -xzf nom_archive.tar.gz -C Dossier_destination | ||
| + | </ | ||
| + | |||
| + | |||