Winrar command-line Operations

Source: Internet
Author: User
Tags time in milliseconds

Usage: RAR < command >-< switch 1>-< switch n> < zip file > < file ...>
<@ List file ...> < unzip path ">

< commands >
A add files to a compressed file
c Add a compressed file comment
CF Add File Comment
CW Write compressed file comment to file
D Delete files in a compressed file
E Unzip the compressed file to the current directory
f refreshing files in a compressed file
i[parameter]=< string > Finding strings in Compressed files
K Lock Compressed files
L[T,B] List compressed files [technical information, concise]
M[F] Move to compressed file [file only]
P print file to standard output device
R Repair Compressed Files
RC Rebuilding a missing volume
RN Renaming compressed Files
RR[N] Adding data recovery records
Rv[n] Create a recovery volume
s[name |] Convert compressed file to self-extracting format or convert back to compressed file
T test compressed files
U update files in a compressed file
V[T,B] Detailed list of compressed files [technical information, concise]
x extract files with absolute path

< switches >
-Stop Scanning
Clearing archive properties After AC compression or decompression
Ad adds a compressed file name to the destination path
ag[format] Generate compressed file names using the current date
Ao Adding a file with a compressed property
ap< format > Add path to Compressed file
As synchronous compressed file contents
AV Add user Identity Check (only registered version available)
av-Disabling user identity checking
C-Disable Comment display
cfg-Disabling Read configuration
CL name converted to lowercase
CU name converted to uppercase
Delete files after DF compression
DH Open Shared File
DS Disables name sorting for solid compressed files
e[+]< Properties > settings file exclusions and include properties
Ed does not add an empty directory
En does not add the "End of compressed Files" flag
EP excludes paths from names
EP1 exclude the base directory from the name
EP2 Expand to full path
The EP3 extension path is the full path that contains the drive letter
F Refreshing files
hp[Password] Simultaneously encrypt the file data and the file header
ID[C,D,P,Q] Disabling messages
ieml[Properties] Send compressed files by e-mail
Ierr send all messages to standard error devices
ilog[Name] Write the error to the log file (only the registered version is available)
Inul Disable all messages
Ioff power off the PC after completing an operation
ISND Enable sound
K Lock Compressed files
KB preserves corrupted extracted files
M<0..5> Setting the compression level (0-storage ... 3-Default ... 5-Max)
mc< Parameters > Setting Advanced compression parameters
md< size > Dictionary size in kilobytes (64,128,256,512,1024,2048,4096 or A-G)
Ms[ext;ext] Specifies the type of file stored
n< file > contains only the specified file
[email protected] read the file name from the standard input device to include
[Email protected]< list > Include files in the specified file list]
o+ Overwrite Existing Files
o does not overwrite existing files
OC Setting NTFS Compression Properties
OS Save NTFS Stream
ow save or restore file owners and groups
p[Password] Set password
P do not ask for password
R Recursive Sub-directory
R0 subdirectories with recursive wildcard names only
Ri<p>[:<s>] Set Priority (0-default, 1-Minimum: 15-Max) and sleep time in milliseconds
RR[N] Adding data recovery records
Rv[n] Create a recovery volume
S[&LT;N&GT;,V[-],E] Create a solid compressed file
S-Disable solid compaction files
sfx[name] Create self-extracting compressed file
st[name] Read data from a standard input device (stdin)
T compress post-test file
ta< Date > Add date < date > After modified file, date format YYYYMMDDHHMMSS
tb< Date > Add Date < date > pre-Modified file, date format YYYYMMDDHHMMSS
TK retains original compressed file time
TL Set the compressed file time to the latest file time
tn< time > Add < time > Future files
to< time > Add < time > previous files
Ts<m,c,a>[n] Save or restore file time (modify, create, access)
U update file
V automatically detects the size of the created volume or lists all volumes
v< size >[k,b] Create volume size =< size >*1000 [*1024, *]
VD Clear disk contents before creating capacity
Ver[n] File version control
VN using the old-style volume naming scheme
VP paused before each volume
w< path > Specify working directory
x< file > exclude specified files
[email protected] read the file name to be excluded from the standard input device
[Email protected]< list > exclude files from the specified list file
Y Suppose the answer to all questions is
z< File > read compressed file comments from a file

Note: If you want to add a comment, you need the file to be compressed, and then add the comment

Winrar command-line Operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.