will add the file report.txt to the encrypted archive
secret.rar using the password 'fGzq5yKw'
Switch -idc disables the copyright string.
Switch -idd disables "Done" string at the end of operation.
Switch -idp disables the percentage indicator.
Switch -idq turns on the quiet mode, so only error messages
and questions are displayed.
It is allowed to use several modifiers at once,
so switch -idcdp is correct.
Send archive by email. Win32 version only.
Attach an archive created or updated by the add command
to email message. You need to have a MAPI compliant email
client to use this switch (most modern email programs
support MAPI interface).
You may enter a destination email address directly
in the switch or leave it blank. In the latter case you
will be asked for it by your email program. It is possible
to specify several addresses separated by commas or semicolons.
If you append a dot character to -ieml, an archive will be
deleted after it was successfully attached to an email.
If the switch is used when creating a multivolume archive,
every volume is attached to a separate email message.
-ierr Send all messages to stderr.
Log errors to file (registered version only).
Write error messages to the file rar.log created in RAR
directory. It is possible to specify another log file name
instead of the default rar.log in the switch, for example,
-ilogc:logackup.log. If the specifed name does not include
the path, the log file will be created in the RAR directory.
-inul Disable all messages.
-ioff Turn PC off after completing an operation. The hardware must
support the power off feature. Win32 version only.
-isnd Enable sound.
-k Lock archive. Any command which intends to change the archive
will be ignored.
-kb Keep broken extracted files.
RAR, by default, deletes files with CRC errors after
extraction. The switch -kb specifies that files with
CRC errors should not be deleted.
-m<n> Set compression method:
-m0 store do not compress file when adding to archive
-m1 fastest use fastest method (less compressive)
-m2 fast use fast compression method
-m3 normal use normal (default) compression method
-m4 good use good compression method (more
compressive, but slower)
-m5 best use best compression method (slightly more
compressive, but slowest)
If this switch is not specified, RAR uses -m3 method
By default, RAR uses only the general compression
algorithm in -m1 and -m2 methods, advanced algorithms
like audio and true color processing are enabled
only in -m3..-m5 modes, the advanced text compression
is activated only in -m4..-m5. This default can be
overridden using -mc switch.
Set advanced compression parameters.
This switch is intended mainly for benchmarking and
experiments. In the real environment it is usually better
to allow RAR to select optimal parameters automatically.
Please note that improper use of this switch may lead
to very serious performance and compression loss, so use
it only if you clearly understand what you do.
It has the following syntax:
-mc[param1][:param2][module][+ or -]
where <module> is the one character field denoting a part
of the compression algorithm, which has to be configured.
It may have the following values:
A - audio compression;
C - true color (RGB) data compression;
D - delta compression;
E - 32-bit x86 executables compression;
I - 64-bit Intel Itanium executables compression;
T - text compression.
'+' sign at the end of switch applies the selected algorithm
module to all processed data, '-' disables the module at all.
If no sign is specified, RAR will choose modules automatically,
based on data and the current compression method.
Switch -mc- disables all optional modules and allows only
the general compression algorithm.
<Param1> and <Param2> are module dependent parameters
Audio compression, delta compression:
<Param1> is a number of byte channels (can be 1 - 31).
RAR splits multibyte channels to bytes, for example,
two 16-bit audio channels are considered by RAR as four
channels one byte each.
<Param2> is ignored.
32-bit x86 Intel executables compression,
64-bit Intel Itanium executables compression,
true color (RGB) data compression:
<Param1> and <Param2> are ignored.
<Param1> is the order of PPM algorithm (can be 2 - 63).
Usually a higher value slightly increases the compression ratio
of redundant data, but only if enough memory is available
to PPM. In case of lack of memory the result may be negative.
Higher order values decrease both compression and decompression
<Param2> is memory in megabytes allocated for PPM (1-128).
Higher values may increase the compression ratio, but note
that PPM uses the equal memory size both to compress and
decompress, so if you allocate too much memory when creating
an archive, other people may have problems when decompressing
it on a computer with less memory installed. Decompression
will be still possible using virtual memory, but it may
become very slow.
1) switch -mc1a+ forces use of 8-bit mono audio compression
for all data.
2) switch -mc10:40t+ forces use of text compression
algorithm for all data, sets the compression order to 10
and allocates 40 MB memory.
3) switch -mc12t sets the text compression order to 12,
when the text compression is used, but leaves to RAR to
decide when to use it.
4) switches -mct- -mcd- disable text and delta compression.
-md<n> Select dictionary size <n> in KB. Must be 64, 128, 256, 512,
1024, 2048 or 4096 or a letter 'a', 'b', 'c', 'd', 'e', 'f', 'g'
The sliding dictionary is a special memory area used by the
compression algorithm. If the size of the file being compressed
(or the total files size in the case of a solid archive) is
greater than the dictionary size, then increasing the dictionary
size will generally increase compression ratio, decrease packing
speed and increase memory requirements.
RAR can reduce the dictionary size if it is significantly
larger than the size of the source data. It helps to reduce
memory requirements without decreasing compression.
Default sliding dictionary size is 4096 KB.
RAR a -s -mdd sources *.asm
RAR a -s -md512 sources *.asm
Will create a solid archive using a 512 KB dictionary.
Specify file types to store.
Specify file types, which will be stored without compression.
This switch may be used to store already compressed files,
which helps to increase archiving speed without noticeable
loss in the compression ratio.
Optional <list> parameter defines the list of file extensions
separated by semicolons. For example, -msrar;zip;jpg will
force RAR to store without compression all RAR and ZIP
archives and JPG images. It is also allowed to specify wildcard
file masks in the list, so -ms*.rar;*.zip;*.jpg will work too.
If <list> is not specified, -ms switch will use the default
set of extensions, which includes the following file types:
7z, ace, arj, bz2, cab, gz, jpeg, jpg, lha, lzh, mp3,
rar, taz, tgz, z, zip
Set the number of threads. Available in Windows version.
May be available in some of Unix versions.
<threads> parameter can take values from 0 to 16.
It defines the recommended number of active threads
for compression algorithm. If it is greater than 0,
RAR will use the multithreaded version of compression
algorithm providing higher speed on multiprocessor
architectures. Real number of active threads can differ
from the specified.
If <threads> is zero, RAR will use the single threaded
Change of <threads> parameter slightly affects the compression
ratio, so archives created with different -mt switches
will not be exactly the same even if all other compression
settings are equal.
If -mt switch is not specified, RAR will try to detect
the number of available processors and select the optimal
number of threads automatically.
-n<f> Include only the specified file <f>. Wildcards may be used
both in the name and file parts of file mask. You may specify
the switch '-n' several times.
This switch does not replace usual file masks, which still
need to be entered in the command line. It is an additional
filter limiting processed files only to those matching
the include mask specified in -n switch. It can help to
reduce the command line length sometimes.
For example, if you need to compress all *.txt and *.lst
files in directories Project and Info, you can enter:
rar a -r text Project*.txt Project*.lst Info*.txt Info*.lst
or using the switch -n:
rar a -r -n*.txt -n*.lst text Project Info
-n@<lf> Include files using the specified list file.
Similar to -n<f> switch, but reads include masks from
the list file. If you use -n@ without the list file name
parameter, it will read file names from stdin.
rar a -r -firstname.lastname@example.org text Project Info
-oc Set NTFS Compressed attribute. Win32 version only.
This switch allows to restore NTFS Compressed attribute
when extracting files. RAR saves Compressed file attributes
when creating an archive, but does not restore them unless
-oc switch is specified.
-ol Save symbolic links as the link instead of the file.
Unix version only.
-or Rename extracted files automatically if file with the same name
already exists. Renamed file will get the name like
'filename(N).txt', where 'filename.txt' is the original file
name and 'N' is a number starting from 1 and incrementing
if file exists.
-os Save NTFS streams. Win32 version only.
This switch has meaning only for NTFS file system under
Windows NT and allows to save alternative data streams
associated with a file. It is especially important under
Windows 2000 and XP, which use streams to keep some file
dependent information like file descriptions. If you use
RAR to backup your NTFS disks, it is recommended to specify
-ow Use this switch when archiving to save file security
information and when extracting to restore it.
Unix RAR version saves file owner and group when using
Win32 version stores owner, group, file permissions and
audit information, but only if you have necessary privileges
to read them. Note that only NTFS file system supports
file based security under Windows.
-o+ Overwrite existing files.
-o- Do not overwrite existing files.
-p[p] Encrypt files with the string <p> as password while archiving.
The password is case-sensitive. If you omit the password on the
command line, you will be prompted with message "Enter password".
rar a -pmyhoney secret1 *.txt
add files *.txt and encrypt them with password "myhoney".
-p- Do not query password
لبخند دختر پسر رونشناسی دانلود نرم افزار ادبیات تست کنکور کارشناسی ارشد سوال جواب حجم ویروس هک یاهو ساخت ویروس جوک بازی سرگرمی خرید اینترنتی سرقت از بانک اینترنتی دزدی همه فن حریف کبسول کپسول انواع قرص ایکس پماد قرص های نیرو بخش دوپینگ انرژی زا کریستال قطعات الکترونیک آموزش الکتروتکنیک ثروت از اینترنت خیابان جاسوسی ناجور عکس یانگوم جواهری در قصر بازیکنان فوتبال والیبال ورزش فیلم جکی جان
-r Recurse subdirectories. May be used with commands:
a, u, f, m, x, e, t, p, v, l, c, cf and s.
When used with the commands 'a', 'u', 'f', 'm' will process
files in all sub-directories as well as the current working
When used with the commands x, e, t, p, v, l, c, cf or s will
process all archives in sub-directories as well as the current
-r0 Similar to -r, but when used with the commands 'a', 'u', 'f',
'm' will recurse subdirectories only for those names, which
include wildcard characters '*' and '?'
Set priority and sleep time. Available only in RAR for Windows.
This switch regulates system load by RAR in multitasking
environment. Possible task priority <p> values are 0 - 15.
If <p> is 0, RAR uses the default task priority.
<p> equal to 1 sets the lowest possible priority,
15 - the highest possible.
Sleep time <s> is a value from 0 to 1000 (milliseconds).
This is a period of time that RAR gives back to the system
after every read or write operation while compressing
or extracting. Non-zero <s> may be useful if you need to reduce
system load even more than can be achieved with <p> parameter.
execute RAR with default priority and 10 ms sleep time:
rar a -ri0:10 backup *.*
-rr[N] Add a data recovery record. This switch is used when creating
or modifying an archive to add a data recovery record to
the archive. See the 'rr[N]' command description for details.
-rv[N] Create recovery volumes. This switch is used when creating
a multivolume archive to generate recovery volumes.
See the 'rv[N]' command description for details.
-s Create solid archive. Solid is a special archive type. Please
refer to the appendix "Glossary" for further information.
create solid archive sources.rar with 512 KB dictionary,
recursing all directories, starting with the current directory.
Add only .asm files:
rar a -s -md512 sources.rar *.asm -r
-s<N> Create solid groups using file count