1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:02:08 +02:00
tldr/pages/common/lsar.md
spageektti 1e921fa0de
lsar: add page; unar: update page (#12787)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2024-05-16 00:18:22 +02:00

29 lines
637 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}} --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 --test {{path/to/archive}}`
- List the archive file's contents in JSON format:
`lsar --json {{path/to/archive}}`
- Display help:
`lsar --help`