Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1606 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  probleme avec la commande "tar"...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

probleme avec la commande "tar"...

n°426274
freedump
together we will conquer...
Posté le 07-03-2004 à 15:31:15  profilanswer
 

J'essaie de compresser un repertoire avec la commande tar
 
je fais :
 

tar -zcvf forum.tar forum


 
j'obtiens bien mon fichier .tar par contre kan je le dezip j'ai 1 seul fichier, et non pas le repertoire  :heink:  
 
qu'est ce ke g oublié ??
 
Merci  :jap:  
 


---------------
...und ich tanz' einfach weiter.
mood
Publicité
Posté le 07-03-2004 à 15:31:15  profilanswer
 

n°426282
o'gure
Modérateur
Multi grognon de B_L
Posté le 07-03-2004 à 15:35:18  profilanswer
 

deja avec ta commande tu cree une tar.gz
ensuite comment tu le de-tar.gz ??

n°426283
freedump
together we will conquer...
Posté le 07-03-2004 à 15:36:17  profilanswer
 

O'gure a écrit :

deja avec ta commande tu cree une tar.gz
ensuite comment tu le de-tar.gz ??


 
tar -xzvf ....
 
sinon avec unrar sous Winxxx....ca fait la meme chose


---------------
...und ich tanz' einfach weiter.
n°426289
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 07-03-2004 à 15:44:25  profilanswer
 

et en 2 etapes ça le fait toujours ?

n°426290
chaica
Posté le 07-03-2004 à 15:47:16  profilanswer
 

chaica@desktop $ tar zcvf essai.tar.gz essai/
essai/
essai/essai.txt
essai/essai2.txt
chaica@desktop $ tar zxvf essai.tar.gz
essai/
essai/essai.txt
essai/essai2.txt
 
Ca marche très bien, désolé.

n°426295
freedump
together we will conquer...
Posté le 07-03-2004 à 15:51:26  profilanswer
 

ok autant pour moi jviens de comprendre ma connerie
 
je faisait un  
 

tar -zcvf forum.tar forum


 
il faut en faite faire un  
 

tar -zcvf forum.tar.gz forum


 
en le renommant .gz sous Windows, le zip contient a nouveau un rep
 
Merci bcp  :jap:  
 


---------------
...und ich tanz' einfach weiter.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  probleme avec la commande "tar"...

 

Sujets relatifs
Probleme d'installtion de kdevelop 3,lib berkeley non trouvé :/probleme avec la commande tr.
[probleme commande reboot] ... gentoo ?problème de socket avec MySQL sur une commande PHP mysql_connect()
probleme commande adduserbig probleme avec la commande "mount_cd9660" helppp
Problème de lignes de commande sous Mandrake 7.2Probleme de commande XP
probleme avec la commande TARProbleme de la commande ./configure sous mandrake 8.1
Plus de sujets relatifs à : probleme avec la commande "tar"...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR