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

rar

RAR is a powerful command line tool used for compression and archiving files on various operating systems including Windows, Linux, and macOS. It is widely recognized for its ability to handle large files efficiently.

With RAR, users can create archives of multiple files and folders, compressing them into a single file that is smaller in size. It utilizes a proprietary compression algorithm that ensures high compression ratios while maintaining the integrity of the archived data.

The tool supports a wide range of archive formats, including RAR, ZIP, 7Z, TAR, and more. This enables users to extract files from archives created by other tools and vice versa.

RAR offers several advanced features such as password protection, file splitting, error recovery, and file and folder syncing. These features enhance data security and provide options for managing large archives.

One of the standout features of RAR is its multi-threaded compression capability, allowing users to utilize multiple processor cores to speed up the compression process. This can significantly reduce the time required to compress large files.

The tool has a user-friendly command line interface that provides a comprehensive set of commands and options for performing various operations. It offers extensive customization options, allowing users to define compression levels, set passwords, and specify file and folder exclusions.

RAR also supports encryption, ensuring the privacy of archived data. It uses strong encryption algorithms such as AES-256, providing robust protection against unauthorized access.

The command line tool integrates seamlessly with scripting languages and automation tools, enabling batch operations and scheduled archiving tasks.

RAR is regularly updated by its developers, ensuring compatibility with new operating systems and providing bug fixes and security patches.

Overall, RAR is a reliable and versatile command line tool that offers a wide range of features for compression and archiving. Its efficient compression algorithm, multi-threaded capabilities, and advanced options make it a popular choice among users for managing their files and folders efficiently.

List of commands for rar:

  • rar:tldr:4a2e6 rar: Password protect the resulting archive.
    $ rar a -p${password} ${path-to-archive_name-rar} ${filename_or_directory}
    try on your machine
    explain this command
  • rar:tldr:58430 rar: Archive a directory.
    $ rar a ${path-to-archive_name-rar} ${path-to-directory}
    try on your machine
    explain this command
  • rar:tldr:72a70 rar: Split the archive into parts of equal size (50M).
    $ rar a -v${50M} -R ${path-to-archive_name-rar} ${filename_or_directory}
    try on your machine
    explain this command
  • rar:tldr:81bb0 rar: Archive 1 or more files.
    $ rar a ${path-to-archive_name-rar} ${filename1} ${filename2} ${filename3}
    try on your machine
    explain this command
  • rar:tldr:9a01c rar: Use a specific compression level (0-5).
    $ rar a -m${compression_level} ${path-to-archive_name-rar} ${filename_or_directory}
    try on your machine
    explain this command
  • rar:tldr:c22cb rar: Encrypt file data and headers with password.
    $ rar a -hp${password} ${path-to-archive_name-rar} ${filename_or_directory}
    try on your machine
    explain this command
tool overview