lsar: add page; unar: update page (#12787)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/28/head
spageektti 2024-05-16 00:18:22 +02:00 committed by GitHub
parent a04d52dfef
commit 1e921fa0de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 5 deletions

29
pages/common/lsar.md Normal file
View File

@ -0,0 +1,29 @@
# 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`

View File

@ -5,20 +5,20 @@
- Extract an archive to the current directory:
`unar {{archive}}`
`unar {{path/to/archive}}`
- Extract an archive to the specified directory:
`unar -o {{path/to/directory}} {{archive}}`
`unar -o {{path/to/directory}} {{path/to/archive}}`
- Force overwrite if files to be unpacked already exist:
`unar -f {{archive}}`
`unar -f {{path/to/archive}}`
- Force rename if files to be unpacked already exist:
`unar -r {{archive}}`
`unar -r {{path/to/archive}}`
- Force skip if files to be unpacked already exist:
`unar -s {{archive}}`
`unar -s {{path/to/archive}}`