1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 22:24:55 +02:00
tldr/pages.fr/common/tar.md
Marco Bonelli 2fc20251a9 tar: add French translation (#3732)
* tar: add French translation

Co-authored-by: Hugo D. (jabesq) <jabesq@gmail.com>

* Typo

Co-authored-by: Hugo Dupras <jabesq@gmail.com>
2020-01-04 15:50:55 +01:00

33 lines
893 B
Markdown

# tar
> Utilitaire d'archivage.
> Souvent combiné avec une méthode de compression, telle que gzip ou bzip.
> Plus d'informations : <https://www.gnu.org/software/tar>.
- Créer une archive à partir de fichiers :
`tar cf {{cible.tar}} {{fichier1 fichier2 fichier3}}`
- Créer une archive gzip :
`tar czf {{cible.tar.gz}} {{fichier1 fichier2 fichier3}}`
- Extraie une archive (compressée) dans le dossier courant :
`tar xf {{source.tar[.gz|.bz2|.xz]}}`
- Extraie une archive dans un dossier cible :
`tar xf {{source.tar}} -C {{dossier}}`
- Créer une archive compressée, en utilisant le suffixe de l'archive pour déterminer le programme de compression :
`tar caf {{cible.tar.xz}} {{fichier1 fichier2 fichier3}}`
- Lister le contenu d'une archive tar :
`tar tvf {{source.tar}}`
- Extraire les fichiers correspondant au motif :
`tar xf {{source.tar}} --wildcards {{"*.html"}}`