mirror of https://github.com/CrimsonTome/tldr.git
lsar: add page; unar: update page (#12787)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>pull/28/head
parent
a04d52dfef
commit
1e921fa0de
|
@ -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`
|
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue