Création d'une archive tar.gz
Pour créer une archive tar.gz, on le fait en 2commandes.
D'abord on crée l'archive tar :
tar -cvf archive.tar liste_dossiers/fichiers
Ensuite on compresse avec gzip :
gzip archive.tar
Extraction d'une archive tar.gz
En une seule commande on extrait l'archive :
tar -xvf archive.tar.gz
Pour plus d'infos, je vous invite à lire le manuel :
man tar
rtfm avant tout ;)
Aucun commentaire:
Enregistrer un commentaire