LinuxCommandLibrary

lsar

List an archive file's contents.

TLDR

List an archive file's contents

$ lsar [path/to/archive]
copy


List a password protected archive file's contents
$ lsar [path/to/archive] --password [password]
copy


Print al[L] available information about each file in the archive (it's very long)
$ lsar [-L|--verylong] [path/to/archive]
copy


Test the integrity of the files in the archive (if possible)
$ lsar --test [path/to/archive]
copy


List the archive file's contents in JSON format
$ lsar --json [path/to/archive]
copy


Display help
$ lsar --help
copy

Copied to clipboard