lsar
List an archive file's contents. tldr-pages
On several platforms
Several platforms
List an archive file's contents
lsar path/to/archiveIdentifyList a password protected archive file's contents
lsar path/to/archive --password passwordIdentifyPrint all available information about each file in the archive (it's very long)
lsar --verylong path/to/archiveIdentifyTest the integrity of the files in the archive (if possible)
lsar --test path/to/archiveIdentifyList the archive file's contents in JSON format
lsar --json path/to/archiveIdentifyDisplay help
lsar --helpIdentify