1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-19 14:15:27 +02:00
tldr/pages/common/lsar.md
Managor fe4c26ba2e
pages*/common/*: add option placeholders to translations part 2 (#15901)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-14 12:48:28 +05:30

29 lines
673 B
Markdown

# lsar
> List an archive file's contents.
> See also: `unar`, `ar`.
> More information: <https://manned.org/lsar>.
- List an archive file's contents:
`lsar {{path/to/archive}}`
- List a password protected archive file's contents:
`lsar {{path/to/archive}} {{[-p|--password]}} {{password}}`
- Print al[L] available information about each file in the archive (it's very long):
`lsar {{[-L|--verylong]}} {{path/to/archive}}`
- Test the integrity of the files in the archive (if possible):
`lsar {{[-t|--test]}} {{path/to/archive}}`
- List the archive file's contents in JSON format:
`lsar {{[-j|--json]}} {{path/to/archive}}`
- Display help:
`lsar {{-h|--help}}`