zipinfo
Display ZIP archive information
TLDR
SYNOPSIS
zipinfo [-1] [-l] [-m] [-h] [-t] [options] archive [members]
DESCRIPTION
zipinfo displays information about ZIP archives without extracting. It shows structure, compression, and metadata.
Short listing (-1) provides filenames only, useful for scripting. Each file appears on its own line.
Long listing (-l) resembles ls -l output. It shows permissions, sizes, compression, and dates.
The header (-h) shows archive-level information: filename, size, and number of entries.
Totals (-t) summarize the archive: file count, total sizes, and compression ratio.
Pattern matching selects specific files to display. Wildcards work for filtering large archives.
PARAMETERS
-1
Filenames only, one per line.-2
Filenames only (like -1).-s
Short Unix format.-m
Medium Unix format.-l
Long Unix format.-h
Header info.-t
Totals.-T
Decimal timestamps.-z
Archive comment.-v
Verbose (all available info).-x PATTERN
Exclude files.
OUTPUT FIELDS
Long listing shows:
- Permissions
- Version
- OS
- Size (uncompressed)
- Compression type
- Size (compressed)
- Ratio
- Date/time
- Filename
CAVEATS
Part of Info-ZIP package. Some encrypted archives may not show all info. Very large archives may be slow.
HISTORY
zipinfo is part of Info-ZIP, developed by the Info-ZIP group starting in the early 1990s. It provides archive inspection without extraction.

