[root@linuxcool ~]# zipinfo -v file.zip
Archive: file.zip
There is no zipfile comment.
End-of-central-directory record:
-------------------------------
Zip archive file size: 1937 (0000000000000791h)
Actual end-cent-dir record offset: 1915 (000000000000077Bh)
Expected end-cent-dir record offset: 1915 (000000000000077Bh)
(based on the length of the central directory and its expected offset)
This zipfile constitutes the sole disk of a single-part archive; its
central directory contains 2 entries.
The central directory is 175 (00000000000000AFh) bytes long,
and its (expected) offset in bytes from the beginning of the zipfile
is 1740 (00000000000006CCh).
………………省略部分输出信息………………
仅显示压缩包内文件大小及数目信息:
[root@linuxcool ~]# zipinfo -h file.zip
Archive: file.zip
Zip file size: 1937 bytes, number of entries: 2