snippetbashTip
unrar — Extract RAR archives. More information: <https://manned.org/unrar>.
Viewed 0 times
extractcommandcliinformationarchivesmoreunrarrar
Problem
How to use the
unrar command: Extract RAR archives. More information: <https://manned.org/unrar>.Solution
unrar — Extract RAR archives. More information: <https://manned.org/unrar>.Extract files with original directory structure:
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:
unrar t {{compressed.rar}}List files inside the archive file without decompressing it:
unrar l {{compressed.rar}}Code Snippets
Extract files with original directory structure
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
unrar t {{compressed.rar}}List files inside the archive file without decompressing it
unrar l {{compressed.rar}}Context
tldr-pages: common/unrar
Revisions (0)
No revisions yet.