Forrest logo
tool overview
On this page you find all important commands for the CLI tool unrar. If the command you are looking for is missing please ask our AI.

unrar

Unrar is a command line tool used for extracting files from compressed RAR archives. It is primarily used on Unix-like systems, including Linux and macOS.

  1. Unrar stands for "unarchive rar" and is part of the larger program, RAR, that is used for file compression.
  2. It is a proprietary tool developed by the same author who created RAR, Eugene Roshal.
  3. Unrar is commonly used to extract files from RAR archives that are downloaded from the internet or shared among users.
  4. It supports both single and multi-volume RAR archives, allowing users to extract files that span across multiple volumes.
  5. Unrar can handle password-protected RAR archives, prompting the user for the password if necessary.
  6. It is capable of extracting individual files or entire directories from a RAR archive.
  7. Unrar supports various file formats, including text files, images, audio, video, and more.
  8. The tool offers options to overwrite existing files, preserve file attributes, and maintain the directory structure during extraction.
  9. Unrar can also be used to test the integrity of RAR archives, ensuring that they are not corrupted or damaged.
  10. It provides a simple and efficient way to extract files from RAR archives through the command line interface, making it suitable for automation and scripting purposes.

List of commands for unrar:

  • unrar:tldr:0372e unrar: Extract files with original directory structure.
    $ unrar x ${compressed-rar}
    try on your machine
    explain this command
  • unrar:tldr:923d6 unrar: List files inside the archive file without decompressing it.
    $ unrar l ${compressed-rar}
    try on your machine
    explain this command
  • unrar:tldr:973c7 unrar: Extract files to a specified path with the original directory structure.
    $ unrar x ${compressed-rar} ${path-to-extract}
    try on your machine
    explain this command
  • unrar:tldr:d7454 unrar: Test integrity of each file inside the archive file.
    $ unrar t ${compressed-rar}
    try on your machine
    explain this command
  • unrar:tldr:f0d27 unrar: Extract files into current directory, losing directory structure in the archive.
    $ unrar e ${compressed-rar}
    try on your machine
    explain this command
tool overview