RAR compression decompression command

Usage

rar <command> -<switch 1> -<switch N> <archive> <files…> <@listfiles…> <path_to_extract\>

Commands

Unlike other commands here, no use is required -.

  • e: Extract files without archived paths. Seeing that the translation of other people's articles is wrong, here is that the path of the compressed package is not decompressed during the decompression process, which will cause all files (excluding folders) in the compressed package to be compressed into the same path, which will be very confusing;
  • x: Extract files with full path. Compared with using the command e, this will unzip the folder, which is much easier to use.

Example

insert image description here

Guess you like

Origin blog.csdn.net/qq_28087491/article/details/130573453