RAR command line grammar ~~~~~~~~~~~~~~
grammar
RAR
description
Command line options (commands and options) provide RAR to create and manage control of control compression packages. The command is a string (or a single letter), command RAR to perform the corresponding operation. Options are used to modify the way RAR execution operation. Other parameters are compressed package names, files to be compressed or files to be disrupted from the compression package.
The list of files is that the plain text file contains the file name you want to process. The first column should start with the file name. The list of files can be added after // characters. For example, you can create backup.lst containing the following string:
C: / Work / Doc / *. txt // Backup text Document C: / Work / Image / *. BMP // Backup Image C: / Work / Misc
Then execute:
RAR a backup @ backup.lst
If you want to read the filename from stdin (standard input), specify a list of files that do not exist (using only characters @).
In the same command line, you can specify the normal file name and list file at the same time. If both are not specified, then all files (*. *), RAR will process all files.
In UNIX environments, you must place wildcards in quotation marks to avoid RAR processing to wildcards. For example, the following command will decompress * .asm files from the RAR compression package under the current path:
Rar E '* .rar' * .asm '