Zip List Entries

List the contents of a ZIP file

Command

files-cli files zip-list-contents

Output

Outputs a ZipListEntry object according to the output format.

Authorization Requirement

Available to all authenticated keys or sessions.

Flags

FlagDescription
--path=
string
Required
Path to operate on.

Example Request

files-cli files zip-list-contents \
  --path="path"

The ZipListEntry Object

Some of the commands above return a ZipListEntry object. The attributes of this object are listed below.

AttributeDescription
path
string
Entry path inside the ZIP. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
size
int64
Uncompressed size in bytes.