Name
zipinfo
Synopsis
zipinfo [options
]file
Displays about the specified zip file.
Options
- -h
Print archive name, size, and number of archived items.
- -l
As -s, but compressed size is also displayed.
- -m
As -s, but compression ratio is also displayed.
- -M
Display output a page at a time.
- -s
Print information about each item in the archive, in a format similar to the ls command’s output: permissions, version of zip used to create the archive, uncompressed size, file type, compression method, modification timestamp, and name. This is the default behavior if no other options are specified.
- -t
Print number of archived items, cumulative compressed and uncompressed sizes, and compression ratio.
- -T
Print timestamps in a sortable format, rather than the default human-readable format.
- -v
Enable verbose output.
- -x
Exclude the files specified by the additional
pathname
arguments, which usually include wildcards to match filenames of a certain pattern.- -z
Print comments stored in the archive file.
- -1
Print only filenames of archived items.
- -2
As -1, but -h, -t, and -z flags may be used to print additional information.
Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.