Options (5)
-p, --passwordbooleanList a password protected archive file's contents
Example:
lsar {{path/to/archive}} {{[-p|--password]}} {{password}}-L, --verylongbooleanPrint all available information about each file in the archive (it's very long)
Example:
lsar {{[-L|--verylong]}} {{path/to/archive}}-t, --testbooleanTest the integrity of the files in the archive (if possible)
Example:
lsar {{[-t|--test]}} {{path/to/archive}}-j, --jsonbooleanList the archive file's contents in JSON format
Example:
lsar {{[-j|--json]}} {{path/to/archive}}-h, --helpbooleanDisplay help
Example:
lsar {{[-h|--help]}}Examples (6)
List an archive file's contents
lsar path/to/archiveList a password protected archive file's contents
lsar path/to/archive [-p|--password] passwordPrint all available information about each file in the archive (it's very long)
lsar [-L|--verylong] path/to/archiveTest the integrity of the files in the archive (if possible)
lsar [-t|--test] path/to/archiveList the archive file's contents in JSON format
lsar [-j|--json] path/to/archiveDisplay help
lsar [-h|--help]made by @shridhargupta | data from tldr-pages