Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux命令 > 备份压缩 > » 正文

linux zipinfo命令参数及用法详解--linux查看zip压缩文件信息命(2)

来源: 未知 分享至:

 32-bit CRC value (hex):              00000000
 compressed size:                 0 bytes
 uncompressed size:                0 bytes
 length of filename:                3 characters
 length of extra field:              13 bytes
 length of file comment:              0 characters
 disk number on which file begins:         disk 1
 apparent file type:                binary
 Unix file attributes (100644 octal):       -rw-r--r--
 MS-DOS file attributes (00 hex):         none

 The central-directory extra field contains:
 - A subfield with ID 0x5455 (universal time) and 5 data bytes.
  The local extra field has UTC/GMT modification/access times.
 - A subfield with ID 0x7855 (Unix UID/GID) and 0 data bytes.

 There is no file comment.

Central directory entry #4:
---------------------------

 e.c

 offset of local header from start of archive:   162 (000000A2h) bytes
 file system or operating system of origin:    Unix
 version of encoding software:           2.3
 minimum file system compatibility required:    MS-DOS, OS/2 or NT FAT
 minimum software version required to extract:   1.0
 compression method:                none (stored)
 file security status:               not encrypted
 extended local header:              no
 file last modified on (DOS date/time):      2010 May 24 18:54:26
 file last modified on (UT extra field modtime):  2010 May 24 18:54:26 local
 file last modified on (UT extra field modtime):  2010 May 24 10:54:26 UTC
 32-bit CRC value (hex):              00000000
 compressed size:                 0 bytes
 uncompressed size:                0 bytes
 length of filename:                3 characters
 length of extra field:              13 bytes
 length of file comment:              0 characters
 disk number on which file begins:         disk 1
 apparent file type:                binary
 Unix file attributes (100644 octal):       -rw-r--r--
 MS-DOS file attributes (00 hex):         none

 The central-directory extra field contains:
 - A subfield with ID 0x5455 (universal time) and 5 data bytes.
  The local extra field has UTC/GMT modification/access times.
 - A subfield with ID 0x7855 (Unix UID/GID) and 0 data bytes.

 There is no file comment.

[root@ubuntu a]# 

 

典型实例:

例:查看压缩文件的详细信息。

例如,用zipinfo命令查看zip命令生成的test.zip压缩文件,可使用如下命令:

zipinfo test.zip #查看test.zip 文件的信息  

 

  • cmd@cmd-desktop:~$ zipinfo test.zip #查看test.zip 文件的信息  
  • Archive: test.zip #文件名  
  • Zip file size: 1012 bytes, number of entries: 5 #文件大小  
  • -rw-r--r-- 3.0 unx 61 tx defN 09-Sep-21 16:09 file #单个文件属性  
  • -rw-r--r-- 3.0 unx 55 tx defN 09-Sep-21 19:53 testfile  
  • -rw-r--r-- 3.0 unx 54 tx defN 09-Sep-21 16:10 testfile1  
  • -rw-r--r-- 3.0 unx 54 tx defN 09-Sep-21 16:10 testfile2  
  • -rw-r--r-- 3.0 unx 54 tx defN 09-Sep-21 16:10 testfile3  
  • 5 files, 278 bytes uncompressed, 272 bytes compressed: 2.2% #文件统计信息 

Tags: linux命令
分享至:
最新图文资讯
1 2 3 4 5 6
相关文章列表:
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史