Comment utiliser unzip?

Fermé
francky04 Messages postés 102 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 16 septembre 2011 - 28 juin 2006 à 11:22
renisaac Messages postés 2043 Date d'inscription dimanche 22 août 2004 Statut Contributeur Dernière intervention 15 mai 2021 - 28 juin 2006 à 23:09
bonjour,
je dois décompresser le fichier TOTO.war avec unzip sur une console linux
comment faire merci
A voir également:

5 réponses

jisisv Messages postés 3645 Date d'inscription dimanche 18 mars 2001 Statut Modérateur Dernière intervention 15 janvier 2017 934
28 juin 2006 à 12:08
Quelle est la difficulté ?
johan@johan:~/temp/war$ unzip  /var/www/apache-tomcat-5.5.17/webapps/sample.war
Archive:  /var/www/apache-tomcat-5.5.17/webapps/sample.war
   creating: META-INF/
 extracting: META-INF/MANIFEST.MF
  inflating: hello.jsp
   creating: images/
   creating: images/CVS/
  inflating: images/CVS/Root
  inflating: images/CVS/Repository
  inflating: images/CVS/Entries
  inflating: images/tomcat.gif
  inflating: index.html
   creating: WEB-INF/
   creating: WEB-INF/src/
   creating: WEB-INF/src/mypackage/
  inflating: WEB-INF/src/mypackage/Hello.java
  inflating: WEB-INF/web.xml
   creating: WEB-INF/classes/
   creating: WEB-INF/classes/mypackage/
  inflating: WEB-INF/classes/mypackage/Hello.class

Johan
2
francky04 Messages postés 102 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 16 septembre 2011
28 juin 2006 à 12:44
je voudrais juste décompresser ce fichier toto.war avec unzip
mais je ne connais pas la commande
0
francky04 Messages postés 102 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 16 septembre 2011
28 juin 2006 à 12:59
j'ai décompressé avec gzip: en tapant gzip toto.war et j'ai obtenu toto.war.gz et ensuite je suis bloqué
0
jisisv Messages postés 3645 Date d'inscription dimanche 18 mars 2001 Statut Modérateur Dernière intervention 15 janvier 2017 934
28 juin 2006 à 13:06
gzip toto.war va créer un gzip de ton fichier war
johan@johan:~/temp/war$ file /var/www/apache-tomcat-5.5.17/webapps/sample.war
/var/www/apache-tomcat-5.5.17/webapps/sample.war: Zip archive data, at least v1.0 to extract

Tu dois utiliser unzip pour déarchiver le fichier .war, tel qu'indiqué plus haut.
0
francky04 Messages postés 102 Date d'inscription vendredi 4 février 2005 Statut Membre Dernière intervention 16 septembre 2011
28 juin 2006 à 13:36
j'ai fais unzip toto.war ça ne fonctionne pas ,cest la raison pour laquelle que j'ai utilisé gzip...
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
renisaac Messages postés 2043 Date d'inscription dimanche 22 août 2004 Statut Contributeur Dernière intervention 15 mai 2021 138
28 juin 2006 à 23:09
re-salut francky.

J'aime vraiment pas me répéter, donc va voir là : le war

je pense que c'est la même question... pas eu le courage de lire ce poste-ci!!!!

a+

Renisaac
0