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% #文件统计信息