> php教程 > PHP开发 > 본문

내가 사용한 Linux 명령 - unzip - zip 파일의 압축을 풀기 위해

高洛峰
풀어 주다: 2016-12-12 16:49:02
원래의
1224명이 탐색했습니다.


사용 설명

zip 파일은 WinZip 및 WinRar와 같은 압축 소프트웨어는 모두 zip 파일 형식을 지원하며, Java jar 패키지도 지원합니다. zip 형식인 경우 Firefox 플러그인 xpi 파일도 zip 형식입니다. zip 파일에 대한 Linux의 지원도 매우 사려 깊습니다. 이를 지원하기 위해 zip, unzip 및 zcat과 같은 명령을 제공합니다. 이 기사의 주제는 unzip 명령을 사용하여 zip 형식의 압축 파일을 푸는 방법에 대해 설명하는 것입니다. Windows의 많은 파일(예: 디렉터리의 모든 파일)을 Linux에 업로드해야 하는 경우 먼저 이러한 파일을 zip 파일로 패키지한 다음 업로드한 다음 unzip을 사용하여 Linux에서 압축을 풀 수 있습니다. 하나씩 업로드하는 것이 훨씬 좋습니다.

공통 매개변수

Linux에서 zip 파일의 압축을 풀려면 가장 간단한 방법은 압축을 풀 zip 파일에 대해 unzip 명령을 직접 실행하는 것입니다.

unzip

위의 사용법은 파일을 현재 디렉터리에 압축을 푸는 것입니다. 지정된 디렉터리에 파일의 압축을 풀려면 -를 사용해야 합니다. d 매개변수.

unzip -d

압축 해제 시 기존 파일을 덮어쓰고 싶지 않은 경우가 있으므로 -n 매개변수를 추가하면 됩니다.

unzip -n

unzip -n -d

때로는 zip 패키지에 어떤 파일이 포함되어 있는지 확인하려면 -l 매개변수를 사용할 수 있습니다.

unzip -l

WinZip 또는 WinRar를 사용할 때 표시되는 파일 목록에는 압축 비율도 포함됩니다. unzip 명령은 -v를 사용하여 볼 수도 있습니다. 이 정보.

unzip -v

인터넷에서 다운로드한 zip 파일이 불완전할 수 있습니다. WinZip이나 WinRar로 열면 다음과 같은 오류가 발생합니다. 오류가 발생하면 unzip은 zip 파일이 손상되었는지 확인하기 위해 -t 매개변수를 제공합니다.

unzip -t

사용 예

예 1tinyxml 개발 패키지 압축 풀기

tinyxml은 구문 분석을 위한 C++ 개발 패키지입니다. XML은 작고 정교하며 간단하고 사용하기 쉽습니다.

[root@rhel55 c++]# lstinyxml_2_6_1.zip -l 
-rw-r--r-- 1 루트 루트 296068 10-22 14:25tinyxml_2_6_1.zip
[root@rhel55 c++] # unziptinyxml_2_6_1.zip 
아카이브: tinyxml_2_6_1.zip
   생성:tinyxml/
  팽창:tinyxml/changes.txt     
  생성:tinyxml/docs/
 팽창:tinyxml/docs/annotated. html  
  팽창:tinyxml/docs/classes.html  
  팽창:tinyxml/docs/classTiXmlAttribute-members.html  
  팽창:tinyxml/docs/classTiXmlAttribute.html  
  팽창:tinyxml/docs/classTiXmlAttribute. png  
  팽창:tinyxml/docs/classTiXmlBase-members.html  
  팽창:tinyxml/docs/classTiXmlBase.html  
  팽창:tinyxml/docs/classTiXmlBase.png  
  팽창:tinyxml/docs/classTiXmlComment- members.html  
  팽창:tinyxml/docs/classTiXmlComment.html  
 추출:tinyxml/docs/classTiXmlComment.png  
  팽창:tinyxml/docs/classTiXmlDeclaration-members.html  
팽창:tinyxml/docs/ classTiXmlDeclaration.html  
 추출:tinyxml/docs/classTiXmlDeclaration.png  
  팽창:tinyxml/docs/classTiXmlDocument-members.html  
  팽창:tinyxml/docs/classTiXmlDocument.html  
팽창:tinyxml/docs/ classTiXmlDocument.png  
  팽창:tinyxml/docs/classTiXmlElement-members.html  
  팽창:tinyxml/docs/classTiXmlElement.html  
  팽창:tinyxml/docs/classTiXmlElement.png  
  팽창:tinyxml/docs/ classTiXmlHandle-members.html  
  팽창:tinyxml/docs/classTiXmlHandle.html  
  팽창:tinyxml/docs/classTiXmlNode-members.html  
  팽창:tinyxml/docs/classTiXmlNode.html  
  팽창:tinyxml/ docs/classTiXmlNode.png  
  팽창:tinyxml/docs/classTiXmlPrinter-members.html  
  팽창:tinyxml/docs/classTiXmlPrinter.html  
  팽창:tinyxml/docs/classTiXmlPrinter.png  
팽창:tinyxml/ docs/classTiXmlText-members.html  
  팽창:tinyxml/docs/classTiXmlText.html  
 추출:tinyxml/docs/classTiXmlText.png  
  팽창:tinyxml/docs/classTiXmlUnknown-members.html  
  팽창: tinyxml/docs/classTiXmlUnknown.html  
  팽창:tinyxml/docs/classTiXmlUnknown.png  
  팽창:tinyxml/docs/classTiXmlVisitor-members.html  
  팽창:tinyxml/docs/classTiXmlVisitor.html  
  팽창: tinyxml/docs/classTiXmlVisitor.png  
  팽창:tinyxml/docs/deprecated.html  
  팽창:tinyxml/docs/doxygen.css  
  팽창:tinyxml/docs/doxygen.png  
팽창:tinyxml/ docs/files.html  
  팽창:tinyxml/docs/functions.html  
  팽창:tinyxml/docs/functions_0x63.html  
  팽창:tinyxml/docs/functions_0x64.html  
  팽창:tinyxml/docs/ function_0x65.html  
  팽창:tinyxml/docs/functions_0x66.html  
  팽창:tinyxml/docs/functions_0x67.html  
  팽창:tinyxml/docs/functions_0x69.html  
  팽창:tinyxml/docs/functions_0x6c. html  
  팽창:tinyxml/docs/functions_0x6e.html  
  팽창:tinyxml/docs/functions_0x6f.html  
  팽창:tinyxml/docs/functions_0x70.html  
  팽창:tinyxml/docs/functions_0x71.html  
  팽창:tinyxml/docs/functions_0x72.html  
  팽창:tinyxml/docs/functions_0x73.html  
  팽창:tinyxml/docs/functions_0x74.html  
  팽창:tinyxml/docs/functions_0x75.html  
팽창:tinyxml/docs/functions_0x76.html  
  팽창:tinyxml/docs/functions_enum.html  
  팽창:tinyxml/docs/functions_func.html  
  팽창:tinyxml/docs/functions_func_0x63.html  
  팽창: tinyxml/docs/functions_func_0x64.html  
  팽창:tinyxml/docs/functions_func_0x65.html  
  팽창:tinyxml/docs/functions_func_0x66.html  
  팽창:tinyxml/docs/functions_func_0x67.html  
  팽창 : 작은xml/ docs/functions_func_0x69.html  
  팽창:tinyxml/docs/functions_func_0x6c.html  
  팽창:tinyxml/docs/functions_func_0x6e.html  
  팽창:tinyxml/docs/functions_func_0x70.html  
  팽창:tinyxml/docs/functions_func_0x71.html  
  팽창: tinyxml/docs/functions_func_0x72.html  
  팽창:tinyxml/docs/functions_func_0x73.html  
  팽창:tinyxml/docs/functions_func_0x74.html  
  팽창:tinyxml/docs/functions_func_0x75.html  
  팽창 : 작은xml/ docs/functions_func_0x76.html  
  팽창:tinyxml/docs/functions_rela.html  
  팽창:tinyxml/docs/functions_vars.html  
  팽창:tinyxml/docs/hierarchy.html  
  팽창:tinyxml/docs/ index.html  
  팽창:tinyxml/docs/pages.html  
  팽창:tinyxml/docs/tab_b.gif  
  팽창:tinyxml/docs/tab_l.gif  
  팽창:tinyxml/docs/tab_r. gif  
  팽창:tinyxml/docs/tabs.css   
  팽창:tinyxml/docs/tinystr_8h_source.html  
  팽창:tinyxml/docs/tinyxml_8h_source.html  
  팽창:tinyxml/docs/tutorial0.html  
  팽창:tinyxml/echo.dsp        
  팽창:tinyxml/Makefile        
  팽창:tinyxml/readme.txt      
  팽창:tinyxml/tinystr.cpp     
팽창:tinyxml/tinystr.h       
팽창:tinyxml/tinyxml.cpp     
  팽창:tinyxml/tinyxml.dsw     
  팽창:tinyxml/tinyxml.h       
  팽창:tinyxml/tinyxml.sln     
팽창:tinyxml/tinyxml_lib.dsp  
팽창:tinyxml/tinyxml_lib.vcproj  
  팽창:tinyxml/tinyxmlerror.cpp  
  팽창:tinyxml/tinyxmlparser.cpp  
  팽창:tinyxml/tinyxmlSTL.dsp  
  팽창:tinyxml/tinyxmlSTL.vcproj  
팽창:tinyxml/tinyXmlTest.dsp  
  팽창:tinyxml/tinyXmlTest.vcproj  
  팽창:tinyxml/tinyXmlTestSTL.dsp  
  팽창:tinyxml/tinyXmlTestSTL.vcproj  
  팽창:tinyxml/utf8test.gif    
팽창:tinyxml/utf8test.xml    
  팽창:tinyxml/utf8testverify.xml  
  팽창:tinyxml/xmltest.cpp    

[root@rhel55 c++]#

示例二 解压tinyxml开发包到/opt/devtools目录

/opt目录常用来存放用户软件的目录, 比如我们库安装在/opt目录。

这里我们把tinyxml开发包解压到/opt/devtools目录下,其中devtools子目录并不存,执行该命令时候,这个目录自动创建了。

[root@rhel55 c++]# unzip -d /opt/devtoolstinyxml_2_6_1.zip 
아카이브: tinyxml_2_6_1.zip
  생성: /opt/devtools/tinyxml/
확장: /opt/devtools/ tinyxml/changes.txt  
   생성: /opt/devtools/tinyxml/docs/
  확장: /opt/devtools/tinyxml/docs/annotated.html  
  확장: /opt/devtools/tinyxml/docs/ classes.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlAttribute-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlAttribute.html  
  팽창: /opt/devtools/tinyxml /docs/classTiXmlAttribute.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlBase-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlBase.html  
  팽창: /opt/ devtools/tinyxml/docs/classTiXmlBase.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlComment-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlComment.html  
추출: /opt/devtools/tinyxml/docs/classTiXmlComment.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlDeclaration-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlDeclaration.html  
 추출: /opt/devtools/tinyxml/docs/classTiXmlDeclaration.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlDocument-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlDocument. html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlDocument.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlElement-members.html  
  팽창: /opt/devtools/tinyxml/docs /classTiXmlElement.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlElement.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlHandle-members.html  
  팽창: /opt/devtools/ tinyxml/docs/classTiXmlHandle.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlNode-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlNode.html  
  팽창: /opt /devtools/tinyxml/docs/classTiXmlNode.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlPrinter-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlPrinter.html  
  팽창 : /opt/devtools/tinyxml/docs/classTiXmlPrinter.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlText-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlText.html  
 추출: /opt/devtools/tinyxml/docs/classTiXmlText.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlUnknown-members.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlUnknown .html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlUnknown.png  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlVisitor-members.html  
  팽창: /opt/devtools/tinyxml/ docs/classTiXmlVisitor.html  
  팽창: /opt/devtools/tinyxml/docs/classTiXmlVisitor.png  
  팽창: /opt/devtools/tinyxml/docs/deprecated.html  
  팽창: /opt/devtools/tinyxml /docs/doxygen.css  
  팽창: /opt/devtools/tinyxml/docs/doxygen.png  
  팽창: /opt/devtools/tinyxml/docs/files.html  
  팽창: /opt/devtools/ tinyxml/docs/functions.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x63.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x64.html  
  팽창: /opt/devtools /tinyxml/docs/functions_0x65.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x66.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x67.html  
  팽창: /opt/ devtools/tinyxml/docs/functions_0x69.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x6c.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x6e.html  
  팽창: /opt /devtools/tinyxml/docs/functions_0x6f.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x70.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x71.html  
  팽창: / opt/devtools/tinyxml/docs/functions_0x72.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x73.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x74.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x75.html  
  팽창: /opt/devtools/tinyxml/docs/functions_0x76.html  
  팽창: /opt/devtools/tinyxml/docs/functions_enum.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x63.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x64.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x65.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x66.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x67.html
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x69.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x6c.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x6e. html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x70.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x71.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x72 .html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x73.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x74.html  
  팽창: /opt/devtools/tinyxml/docs/ function_func_0x75.html  
  팽창: /opt/devtools/tinyxml/docs/functions_func_0x76.html  
  팽창: /opt/devtools/tinyxml/docs/functions_rela.html  
  팽창: /opt/devtools/tinyxml/docs /functions_vars.html  
  팽창: /opt/devtools/tinyxml/docs/hierarchy.html  
  팽창: /opt/devtools/tinyxml/docs/index.html  
  팽창: /opt/devtools/tinyxml/ docs/pages.html  
  팽창: /opt/devtools/tinyxml/docs/tab_b.gif  
  팽창: /opt/devtools/tinyxml/docs/tab_l.gif  
  팽창: /opt/devtools/tinyxml /docs/tab_r.gif  
  팽창: /opt/devtools/tinyxml/docs/tabs.css  
  팽창: /opt/devtools/tinyxml/docs/tinystr_8h_source.html  
  팽창: /opt/devtools/ tinyxml/docs/tinyxml_8h_source.html  
  팽창: /opt/devtools/tinyxml/docs/tutorial0.html  
  팽창: /opt/devtools/tinyxml/echo.dsp  
  팽창: /opt/devtools/tinyxml /Makefile  
  팽창: /opt/devtools/tinyxml/readme.txt  
  팽창: /opt/devtools/tinyxml/tinystr.cpp  
  팽창: /opt/devtools/tinyxml/tinystr.h  
팽창: /opt/devtools/tinyxml/tinyxml.cpp  
  팽창: /opt/devtools/tinyxml/tinyxml.dsw  
  팽창: /opt/devtools/tinyxml/tinyxml.h  
  팽창: /opt/ devtools/tinyxml/tinyxml.sln  
  팽창: /opt/devtools/tinyxml/tinyxml_lib.dsp  
  팽창: /opt/devtools/tinyxml/tinyxml_lib.vcproj  
  팽창: /opt/devtools/tinyxml/tinyxmlerror .cpp  
  확장: /opt/devtools/tinyxml/tinyxmlparser.cpp  
  확장: /opt/devtools/tinyxml/tinyxmlSTL.dsp  
  확장: /opt/devtools/tinyxml/tinyxmlSTL.vcproj  
팽창: /opt/devtools/tinyxml/tinyXmlTest.dsp  
  팽창: /opt/devtools/tinyxml/tinyXmlTest.vcproj  
  팽창: /opt/devtools/tinyxml/tinyXmlTestSTL.dsp  
  팽창: /opt/ devtools/tinyxml/tinyXmlTestSTL.vcproj  
  팽창: /opt/devtools/tinyxml/utf8test.gif  
  팽창: /opt/devtools/tinyxml/utf8test.xml  
  팽창: /opt/devtools/tinyxml/utf8testverify .xml  
  확장: /opt/devtools/tinyxml/xmltest.cpp  
[root@rhel55 c++]#

 

示例三 解压文件 ,不覆盖已经存재적문件

[root@rhel55 c++]# unzip -n -d /opt/devtoolstinyxml_2_6_1.zip 
아카이브: tinyxml_2_6_1.zip
[root@rhel55 c++]#

示例4 查看zip文件中包含的文件列表

[root@rhel55 c++]# unzip -ltinyxml_2_6_1.zip 
아카이브: tinyxml_2_6_1.zip
  길이     날짜   시간    이름
 ---------    ----   ---- ----
        0  03-23-10 13:16  tinyxml/
    14898  03-23-10 13:16  tinyxml/changes.txt
        0  03-23-10 13:16  tinyxml/docs /
     3796  03-23-10 13:16  tinyxml/docs/annotated.html
     2809  03-23-10 13:16  tinyxml/docs/classes.html
     8304  03-23-10 13: 16  tinyxml/docs/classTiXmlAttribute-members.html
    15523  03-23-10 13:16  tinyxml/docs/classTiXmlAttribute.html
      401  03-23-10 13:16  tinyxml/docs/classTiXmlAttribute.png
     3890  03-23-10 13:16  tinyxml/docs/classTiXmlBase-members.html
    16033  03-23-10 13:16  tinyxml/docs/classTiXmlBase.html
     1470  03-23-10 13:16 tinyxml/docs/classTiXmlBase.png
    19288  03-23-10 13:16  tinyxml/docs/classTiXmlComment-members.html
     7737  03-23-10 13:16  tinyxml/docs/classTiXmlComment.html
518 03-23-10 13:16 tinyxml/docs/classtixmlcomment.png 10823 03-23-10 13:16 tinyxml /docs/classTiXmlDeclaration.html
      557  03-23-10 13:16  tinyxml/docs/classTiXmlDeclaration.png
    24057  03-23-10 13:16  tinyxml/docs/classTiXmlDocument-members.html
   30742 03-23-10 13:16  tinyxml/docs/classTiXmlDocument.html
      535  03-23-10 13:16  tinyxml/docs/classTiXmlDocument.png
    23787  03-23-10 13:16  tinyxml/docs/ classTiXmlElement-members.html
    30888  03-23-10 13:16  tinyxml/docs/classTiXmlElement.html
      514  03-23-10 13:16  tinyxml/docs/classTiXmlElement.png
     5695 03-23 -10 13:16  tinyxml/docs/classTiXmlHandle-members.html
    25214  03-23-10 13:16  tinyxml/docs/classTiXmlHandle.html
    18771  03-23-10 13:16  tinyxml/docs/classTiXmlNode -members.html
60709 03-23-10 13:16 tinyxml/docs/classtixmlnode.html     14684  03-23-10 13:16  tinyxml/docs/classTiXmlPrinter.html
      380  03-23-10 13:16  tinyxml/docs/classTiXmlPrinter. png
    19711  03-23-10 13:16  tinyxml/docs/classTiXmlText-members.html
    10566  03-23-10 13:16  tinyxml/docs/classTiXmlText.html
      485  03-23-10 13:16  tinyxml/docs/classTiXmlText.png
    18804  03-23-10 13:16  tinyxml/docs/classTiXmlUnknown-members.html
     7013  03-23-10 13:16  tinyxml/docs/classTiXmlUnknown.html
      521  03-23-10 13:16  tinyxml/docs/classTiXmlUnknown.png
     3643  03-23-10 13:16  tinyxml/docs/classTiXmlVisitor-members.html
     8524  03-23-1 0 13 :16  tinyxml/docs/classTiXmlVisitor.html
      386  03-23-10 13:16  tinyxml/docs/classTiXmlVisitor.png
     2622  03-23-10 13:16  tinyxml/docs/deprecated.html
이 /files.html
     4052  03-23-10 13:16  tinyxml/docs/functions.html
     4729  03-23-10 13:16  tinyxml/docs/functions_0x63.html
     3362  03-23-10 13:16 ' 초 /functions_0x66.html
     3584  03-23-10 13:16  tinyxml/docs/functions_0x67.html
     4078  03-23-10 13:16  tinyxml/docs/functions_0x69.html
     3828 03-23- 10 13:16 tinyxml/docs/functions_0x6c.html 4046 03-23-10 13:16 tinyxml/docs/functions_0x6e.html      4600  03-23-10 13:16 ' 3:16  tinyxml /docs/functions_0x72.html
     5492  03-23-10 13:16  tinyxml/docs/functions_0x73.html
     6167  03-23-10 13:16  tinyxml/docs/functions_0x74.html
     346 2  03- 23-10 13:16  tinyxml/docs/functions_0x75.html
     5012  03-23-10 13:16  tinyxml/docs/functions_0x76.html
     1932  03-23-10 13:16  tinyxml/docs/functions_enum. html
     3977  03-23-10 13:16  tinyxml/docs/functions_func.html
     4654  03-23-10 13:16  tinyxml/docs/functions_func_0x63.html
     3287  03-23-1 0 13: 16  tinyxml/docs/functions_func_0x64.html
     4116  03-23-10 13:16  tinyxml/docs/functions_func_0x65.html
     3988  03-23-10 13:16  tinyxml/docs/functions_func_0x66 .html
     3509 03-23-10 13:16  tinyxml/docs/functions_func_0x67.html
     4003  03-23-10 13:16  tinyxml/docs/functions_func_0x69.html
     3753  03-23-10 13:16  tinyxml/doc 초/ function_func_0x6c.html
     3861  03-23-10 13:16  tinyxml/docs/functions_func_0x6e.html
     4525  03-23-10 13:16  tinyxml/docs/functions_func_0x70.html
    4064  03-23-10 이 x73.html
     6092  03-23-10 13:16  tinyxml/docs/functions_func_0x74.html
     3277  03-23-10 13:16  tinyxml/docs/functions_func_0x75.html
     4937  03-23-10 13:16  tinyxml/ docs/functions_func_0x76.html
     2063  03-23-10 13:16  tinyxml/docs/functions_rela.html
     1929  03-23-10 13:16  tinyxml/docs/functions_vars.html
     2343 03-23 -10 13:16  tinyxml/docs/hierarchy.html
    24431  03-23-10 13:16  tinyxml/docs/index.html
     1215  03-23-10 13:16  tinyxml/docs/pages.html
       35  03-23-10 13:16  tinyxml/docs/tab_b.gif
      706  03-23-10 13:16  tinyxml/docs/tab_l.gif
     2585  03-23-10 13:16 tinyxml/docs/tab_r.gif
     1844  03-23-10 13:16  tinyxml/docs/tabs.css
    28921  03-23-10 13:16  tinyxml/docs/tinystr_8h_source.html
   203302  0 3 -23-10 13:16  tinyxml/docs/tinyxml_8h_source.html
    23226  03-23-10 13:16  tinyxml/docs/tutorial0.html
     4457  03-23-10 13:16  tinyxml/echo.dsp
     3502  03-23-10 13:16  tinyxml/Makefile
    19831  03-23-10 13:16  tinyxml/readme.txt
     2602 03-23-10 13:16  tinyxml/tinystr.cpp
     8783  03-23-10 13:16  tinyxml/tinystr.h
    36435  03-23-10 13:16  tinyxml/tinyxml.cpp
     1315  03-23-10 13:16  tinyxml/tinyxml. dsw
    64316 03-23-10 13:16 tinyxml/tinyxml.h
2535 03-23-10 13:16 tinyxml/tinyxml.sln > ser.cpp
     3518  03-23-10 13:16  tinyxml/tinyxmlSTL.dsp
     5656  03-23-10 13:16  tinyxml/tinyxmlSTL.vcproj
     4189  03-23-10 13:16  xml/tinyXmlTest.dsp
     5336  03-23-10 13:16  tinyxml/tinyXmlTest.vcproj
     4453  03-23-10 13:16  tinyxml/tinyXmlTestSTL.dsp
     5447  03-23-10 13:16  tinyxml/tinyXmlTestSTL. vcproj
    14812  03-23-10 13:16  tinyxml/utf8test.gif
      690  03-23-10 13:16  tinyxml/utf8test.xml
      692  03-23-10 13:16  tinyxml /utf8test확인 .xml
    41492  03-23-10 13:16  tinyxml/xmltest.cpp
 ---------                 -------
  1163603                  113개 파일
[root@ rhel55 c++]#

 

示例五 显示更详细的文件信息列表,包括压缩比率等

[root@rhel55 c++]# unzip -vtinyxml_2_6_1.zip 
아카이브: tinyxml_2_6_1.zip
 길이   방법    크기  비율   날짜   시간   CRC-32    이름
---------  -- ----  ------- -----   ----   ----   ------    ----
       0  저장됨        0   0%  03-23-10 13:16 00000000 tinyxml/
   14898  Defl:X     6510  56%  03-23-10 13:16  32a9eb00 tinyxml/changes.txt
       0  저장됨        0   0%  03-23-10 13 :16  00000000 tinyxml/docs/
    3796  Defl:X     1116  71%  03-23-10 13:16  4bd0b7b5 tinyxml/docs/annotated.html
    2809  Defl:X      847  70%  03-23-10 13:16  f63675f 5 tinyxml/docs/classes.html
    8304  Defl:X     1784  79%  03-23-10 13:16  6221073d tinyxml/docs/classTiXmlAttribute-members.html
   15523  Defl:X     3172  80%  03-23-10 13: 16  0c474e09 tinyxml/docs /classTiXmlAttribute.html
     401  Defl:X      400   0%  03-23-10 13:16  8c97bdf8 tinyxml/docs/classTiXmlAttribute.png
    3890  Defl:X     1154  70%  03-23- 10 13:16 d184de48 Tinyxml /docs/classTiXmlBase-members.html
   16033  Defl:X     3879  76%  03-23-10 13:16  1984decc tinyxml/docs/classTiXmlBase.html
    1470  Defl:X     1438   2%  03- 23-10 13 :16  3899f54a tinyxml/docs/classTiXmlBase.png
   19288  Defl:X     3223  83%  03-23-10 13:16 aef8fe13 tinyxml/docs/classTiXmlComment-members.html
    7737  Defl:X     2100  73%  03- 23-10 13:16  1dad3de2 tinyxml/docs/classTiXmlComment.html
     518  저장됨      518   0%  03-23-10 13:16  f89010b1 tinyxml/docs/classTiXmlComment.png
   20501 l:X     3385  84%  03- 이   557  저장됨      557   0% 03-23-10 13:16  a84cb341 tinyxml/docs/classTiXmlDeclaration.png
   24057  Defl:X     3881  84%  03-23-10 13:16  444474ce tinyxml/docs/classTiXmlDocument-members.html
   30742  데플: X     5233  83%  03-23-10 13:16  b686e382 tinyxml/docs/classTiXmlDocument.html
     535  Defl:X      527   2%  03-23-10 13:16 e805b493 XmlDocument.png
   23787 Defl:X     3811  84%  03-23-10 13:16  d500f7d3 tinyxml/docs/classTiXmlElement-members.html
   30888  Defl:X     4771  85%  03-23-10 13:16  85cf72b3 작은xml/ 문서/classTiXmlElement.html
     514  Defl:X      488   5%  03-23-10 13:16  c63d39ed tinyxml/docs/classTiXmlElement.png
    5695  Defl:X     1285  77%  03-23-10 13:16 c79878e4 tinyxml/docs/classTiXmlHandle -members.html
   25214  Defl:X     3737  85%  03-23-10 13:16  ab50ac54 tinyxml/docs/classTiXmlHandle.html
   18771  Defl:X     3147  83%  03-23-10 13 :16  1f9f07b9 tinyxml /docs/classTiXmlNode-members.html
   60709  Defl:X     8578  86%  03-23-10 13:16  5079c120 tinyxml/docs/classTiXmlNode.html
    1303  Defl:X     1245   5% 03-23-10 13 :16  cd1dc9f5 tinyxml/docs/classTiXmlNode.png
    5515  Defl:X     1313  76%  03-23-10 13:16  37f34eb0 tinyxml/docs/classTiXmlPrinter-members.html
   14684  Defl:X     3041  79%  03-23-10 13:16  6f2a4 9a7 tinyxml/docs/classTiXmlPrinter. html
     380  Defl:X      377   1%  03-23-10 13:16  277c06d3 tinyxml/docs/classTiXmlPrinter.png
   19711  Defl:X     3302  83%  03-23-10 13 :16  b5d7be0e tinyxml/docs/ classTiXmlText-members.html
   10566  Defl:X     2689  75%  03-23-10 13:16  53bcfa73 tinyxml/docs/classTiXmlText.html
     485  저장됨      485   0%  03-23-10 13:16  6e78480b tinyxml/ docs/classTiXmlText.png
   18804  Defl:X     3163  83%  03-23-10 13:16  b5da9c89 tinyxml/docs/classTiXmlUnknown-members.html
    7013  Defl:X     2107  70%  03 -23-10 13: 16  9b4816cc tinyxml/docs/classTiXmlUnknown.html
     521  Defl:X      520   0%  03-23-10 13:16  84b4f6b9 tinyxml/docs/classTiXmlUnknown.png
    3643  Defl:X     1018  72%  03-23-10 13:16  89443ea5 tinyxml/docs/classTiXmlVisitor-members.html
    8524  Defl:X     2180  74%  03-23-10 13:16  b8f1d221 tinyxml/docs/classTiXmlVisitor.html
     386 데플:X      385   0%  03 -23-10 13:16  a25913cb tinyxml/docs/classTiXmlVisitor.png
    2622  Defl:X      970  63%  03-23-10 13:16 d26502e1 tinyxml/docs/deprecated.html
    7131  데플:X     2058  71 %  03-23-10 13:16  3f275ea9 tinyxml/docs/doxygen.css
    1281  Defl:X     1208   6%  03-23-10 13:16  61f5966b tinyxml/docs/doxygen.png
    15 48 데플:X 656  58%  03-23-10 13:16  37e5e107 tinyxml/docs/files.html
    4052  Defl:X     1173  71%  03-23-10 13:16  efac1257 tinyxml/docs/functions.html
   4729 데플 :X     1398  70%  03-23-10 13:16  9c56c519 tinyxml/docs/functions_0x63.html
    3362  Defl:X      929  72%  03-23-10 13:16 8f96a8a8 tinyxml/docs /functions_0x64.html
4191  Defl:X     1169  72%  03-23-10 13:16  e0e89f57 tinyxml/docs/functions_0x65.html
    4063  Defl:X     1153  72% 03-23-10 13:16  67a4252 0 tinyxml/docs/functions_0x66.html
    3584  Defl:X     1011  72%  03-23-10 13:16  76fd776f tinyxml/docs/functions_0x67.html
    4078  Defl:X     1170  71%  03-23-10 13:1 6  44e00503 tinyxml/docs/functions_0x69. html
    3828  Defl:X     1093  71%  03-23-10 13:16  f830b80d tinyxml/docs/functions_0x6c.html
    4046  Defl:X     1136  72%  03-23-10 13: 16  9565bb3f tinyxml/docs/ function_0x6e.html
    3473  Defl:X      959  72%  03-23-10 13:16  489db97e tinyxml/docs/functions_0x6f.html
    4600  Defl:X     1340  71%  03-23- 10 13:16  c970597f tinyxml/ docs/functions_0x70.html
    4139  Defl:X     1139  73%  03-23-10 13:16  3249d80a tinyxml/docs/functions_0x71.html
    3823  Defl:X     1088  72%  0 3-23-10 13:16  e4f5c05e tinyxml/docs/functions_0x72.html
    5492  Defl:X     1565  72%  03-23-10 13:16  c4041eb1 tinyxml/docs/functions_0x73.html
    6167  Defl:X     1742  72% 03-23-10 13: 16  f2e5d279 tinyxml/docs/functions_0x74.html
    3462  Defl:X      967  72%  03-23-10 13:16  1c9b85b1 tinyxml/docs/functions_0x75.html
    5012  Defl:X     1417  72%  03-23-10 13:16  474ff72 0 tinyxml/docs/functions_0x76.html
    1932  Defl:X      695  64%  03-23-10 13:16  17f18324 tinyxml/docs/functions_enum.html
    3977  Defl:X     1121  72%  03-23-10 13:16 2c91ef74 tinyxml/docs/functions_func. html
    4654  Defl:X     1343  71%  03-23-10 13:16  351531b3 tinyxml/docs/functions_func_0x63.html
    3287  Defl:X      872  74%  03-23-10 13:16 d8829ae3 Tinyxml/docs/ function_func_0x64.html
    4116  Defl:X     1118  73%  03-23-10 13:16  68896775 tinyxml/docs/functions_func_0x65.html
    3988  Defl:X     1099  72% 03-23-10 13:16  2eeb5fdf tinyxml/ docs/functions_func_0x66.html
    3509  Defl:X      962  73%  03-23-10 13:16  8548d1af tinyxml/docs/functions_func_0x67.html
    4003  Defl:X     1117  7 2%  03-23-10 13:16  aecae710 tinyxml/docs/functions_func_0x69.html
    3753  Defl:X     1041  72%  03-23-10 13:16  34eee051 tinyxml/docs/functions_func_0x6c.html
    3861  Defl:X     1053  73%  03-23-10 13: 16  d3850bd8 tinyxml/docs/functions_func_0x6e.html
    4525  Defl:X     1288  72%  03-23-10 13:16  d215c72b tinyxml/docs/functions_func_0x70.html
    4064 데플:X     1085  73%  03-23-10 13:16  97d683c4 tinyxml/docs/functions_func_0x71.html
    3748  Defl:X     1035  72%  03-23-10 13:16  76b9a0f1 tinyxml/docs/functions_func_0x72.html
5417  Defl:X     1513  72%  03-23 -10 13:16  5be71089 tinyxml/docs/functions_func_0x73.html
    6092  Defl:X     1687  72%  03-23-10 13:16  18798f4c tinyxml/docs/functions_func_0x74.html
    3277  Defl:X      864  74%  03 -23-10 13:16  ac6292bd tinyxml/docs/functions_func_0x75.html
    4937  Defl:X     1361  72%  03-23-10 13:16  2d50c7fc tinyxml/docs/functions_func_0x76.html
    2063  Defl:X      744  64 백분율 343 데플:X 770  67%  03-23-10 13:16  2a9a3b46 tinyxml/docs/hierarchy.html
   24431  Defl:X     8844  64%  03-23-10 13:16 8d8338ce tiny/docs/index.html
    1215  데플 :X      579  52%  03-23-10 13:16  13b766be tinyxml/docs/pages.html
      35  Defl:X       33   6%  03-23-10 13:16  423d30cb tinyxml/docs/tab_b. gif
706  Defl:X      701   1%  03-23-10 13:16  f40065a7 tinyxml/docs/tab_l.gif
    2585  Defl:X     2573   1%  03-23-10 13:16  e25bca26 tinyxml/doc s/tab_r.gif
    1844  Defl:X      614  67%  03-23-10 13:16  d5ca0949 tinyxml/docs/tabs.css
   28921  Defl:X     5996  79%  03-23-10 13:16  6f4 e2aaa tinyxml/docs/tinystr_8h_source. html
  203302  Defl:X    27378  87%  03-23-10 13:16  d45b3393 tinyxml/docs/tinyxml_8h_source.html
   23226  Defl:X     6479  72%  03-23-10 13 :16  60f240f7 tinyxml/docs/ tutorial0.html
    4457  Defl:X     1034  77%  03-23-10 13:16  f7d161c6 tinyxml/echo.dsp
    3502  Defl:X      927  74%  03-23-10 13:16  f4c914ab tinyxml/Makefile
   19831  Defl:X 이 데플:X     3014  66 %  03-23-10 13:16  a12eaf4d tinyxml/tinystr.h
   36435  Defl:X     7838  79%  03-23-10 13:16  d5ee9686 tinyxml/tinyxml.cpp
    1315  Defl:X      289  78%  03 -23-10 13:16  ff190c78 tinyxml/tinyxml.dsw
   64316  Defl:X    16285  75%  03-23-10 13:16  3c44527b tinyxml/tinyxml.h
    2535  Defl:X     576  77%  03-23 -10 13:16  fa79f489 tinyxml/tinyxml.sln
    3475  Defl:X     1001  71%  03-23-10 13:16  e4f79816 tinyxml/tinyxml_lib.dsp
    5676  Defl:X     1 172  79%  03-23-10 이 9915  73%  03-23-10 13: 16  026ceb3d tinyxml/tinyxmlparser.cpp
    3518  Defl:X      981  72%  03-23-10 13:16  9997529a tinyxml/tinyxmlSTL.dsp
    5656 Defl:X     1134  80%  03-23-10 13:16  c9d38a10 tinyxml/tinyxmlSTL.vcproj
    4189  Defl:X     1022  76%  03-23-10 13:16  e3220707 tinyxml/tinyXmlTest.dsp
    5336  Defl:X     1233  77%  03-23- 10 13:16  5c16b425 tinyxml/ tinyXmlTest.vcproj
    4453  Defl:X     1058  76%  03-23-10 13:16  eae3e727 tinyxml/tinyXmlTestSTL.dsp
    5447  Defl:X     1251  77%  03-23-10 13:16  874e8072 tinyxml/tinyXmlTestSTL. vcproj
   14812  Defl:X    14778   0%  03-23-10 13:16  fbc32be6 tinyxml/utf8test.gif
     690  Defl:X      437  37%  03-23-10 13:16  07 f6f1c1 tinyxml/utf8test.xml
     692  Defl:X      435  37%  03-23-10 13:16  12b9019f tinyxml/utf8testverify.xml
   41492  Defl:X    10283  75%  03-23-10 13:16  6 053a3ef tinyxml/xmltest.cpp
--------          ------- ---                         -------
 1163603           274650  76%                         파일 113개
[ root@rhel55 c++]#



관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 추천
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿