답변:
zipinfo
( InfoZIP에서 ) 파일에 대해 많이 알려줍니다.
zipinfo -v
( "verbose"옵션 사용)의 샘플 출력 -v
:
Archive: /tmp/test.zip
There is no zipfile comment.
End-of-central-directory record:
-------------------------------
Zip archive file size: 22341 (0000000000005745h)
Actual end-cent-dir record offset: 22319 (000000000000572Fh)
Expected end-cent-dir record offset: 22319 (000000000000572Fh)
(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 1 entry.
The central directory is 88 (0000000000000058h) bytes long,
and its (expected) offset in bytes from the beginning of the zipfile
is 22231 (00000000000056D7h).
Central directory entry #1:
---------------------------
tmp/bookmarks.html
offset of local header from start of archive: 0
(0000000000000000h) bytes
file system or operating system of origin: Unix
version of encoding software: 3.0
minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
minimum software version required to extract: 2.0
compression method: deflated
compression sub-type (deflation): normal
file security status: not encrypted
extended local header: no
file last modified on (DOS date/time): 2010 Feb 20 16:22:48
file last modified on (UT extra field modtime): 2010 Feb 20 16:22:47 local
file last modified on (UT extra field modtime): 2010 Feb 20 15:22:47 UTC
32-bit CRC value (hex): 3e84c75c
compressed size: 22155 bytes
uncompressed size: 76774 bytes
length of filename: 18 characters
length of extra field: 24 bytes
length of file comment: 0 characters
disk number on which file begins: disk 1
apparent file type: text
Unix file attributes (100600 octal): -rw-------
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 0x7875 (Unix UID/GID (any size)) and 11 data bytes:
01 04 e8 03 00 00 04 e8 03 00 00.
There is no file comment.
충분하지 않으면 필요한 정보를 설명하십시오.
그 주 zipinfo
기능이 실제의 일부 unzip
프로그램 (두 바이너리 대개 동일하거나 서로 링크). 의 기능 unzip -Z
을 얻기 위해 호출 할 수 있습니다 zipinfo
. 따라서 설치에 zipinfo
바이너리 가없는 경우 unzip -Z
대신 사용할 수 있습니다 .
unz*xn-x64.exe
및 사용unzip.exe -Zv FILENAME.zip
zipinfo
명령은 실제로 사용하여 Windows에서 실행할 수 있습니다 unzip -Z
정보] - 우편 아카이브의 설명서에 명시된 바와 같이, 명령을 사용합니다.
이 명령으로 "zipinfo.bat"배치 파일을 작성하십시오.
unzip.exe -Zsvh %1
당신은 한 zipinfo
윈도우에서 실행.