1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/unrar.md

25 lines
583 B
Markdown
Raw Normal View History

2016-01-05 09:06:05 +08:00
# unrar
> Extract RAR archives.
> More information: <https://manned.org/unrar>.
2016-01-05 09:06:05 +08:00
- Extract files with original directory structure:
2016-01-05 09:06:05 +08:00
`unrar x {{compressed.rar}}`
- Extract files to a specified path with the original directory structure:
`unrar x {{compressed.rar}} {{path/to/extract}}`
- Extract files into current directory, losing directory structure in the archive:
`unrar e {{compressed.rar}}`
- Test integrity of each file inside the archive file:
2016-01-05 09:06:05 +08:00
`unrar t {{compressed.rar}}`
- List files inside the archive file without decompressing it:
2016-01-05 09:06:05 +08:00
`unrar l {{compressed.rar}}`