1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 18:02:08 +02:00
tldr/pages/common/unar.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

24 lines
532 B
Markdown

# unar
> Extract contents from archive files.
> More information: <https://manned.org/unar>.
- Extract an archive to the current directory:
`unar {{path/to/archive}}`
- Extract an archive to the specified directory:
`unar -o {{path/to/directory}} {{path/to/archive}}`
- Force overwrite if files to be unpacked already exist:
`unar -f {{path/to/archive}}`
- Force rename if files to be unpacked already exist:
`unar -r {{path/to/archive}}`
- Force skip if files to be unpacked already exist:
`unar -s {{path/to/archive}}`