home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1999 February / Freesoft_1999-02_cd.bin / Recenz / Kompres / rarlnx25.sfx / rar.txt < prev    next >
Text File  |  1999-03-24  |  32KB  |  884 lines

  1.                              User's Manual
  2.                              ~~~~~~~~~~~~~
  3.             RAR 2.50 32-bit console version (Unix and Windows)
  4.             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6.                        =-=-=-=-=-=-=-=-=-=-=-=-=-=-
  7.                        Welcome to the RAR Archiver!
  8.                        -=-=-=-=-=-=-=-=-=-=-=-=-=-=
  9.  
  10.  Introduction
  11.  ~~~~~~~~~~~~
  12.  
  13.     RAR is a powerful tool which allows you to manage and control archive
  14.   files. The archive is usually a regular file, which name has a ".rar"
  15.   suffix.
  16.  
  17.   RAR features include:-
  18.  
  19.     *  Highly sophisticated, original compression algorithm
  20.     *  Special compression algorithm optimized for multimedia data
  21.     *  Better compression than similar tools, using 'solid' archiving
  22.     *  Authenticity verification (registered version only)
  23.     *  Self-extracting archives and volumes (SFX)
  24.     *  Ability to recover physically damaged archives
  25.     *  Locking, password, file order list, disk volume labels & more ...
  26.  
  27.  
  28.  Configuration file
  29.  ~~~~~~~~~~~~~~~~~~
  30.  
  31.   RAR for Unix reads configuration information from the file .rarrc in the
  32.   user's home directory (stored in HOME environment variable).
  33.  
  34.   RAR for Windows reads configuration information from the file rar.ini,
  35.   placed in the same directory as the rar.exe file.
  36.  
  37.   This file may contain the following strings:
  38.  
  39.   switches=<any RAR switches, separated with a space>
  40.   regname=<your registration name>
  41.   regcode=<your code as stated in registration>
  42.  
  43.  
  44.  Log file
  45.  ~~~~~~~~
  46.  
  47.   If the switch -ilog is specified in the command line or configuration
  48.   file, RAR will write informational messages, concerning errors
  49.   encountered while processing archives, to a log file.  In Unix this file
  50.   is named .rarlog and placed in the user's home directory. In Windows it
  51.   is named rar.log and placed in the same directory as the rar.exe file.
  52.  
  53.  
  54.  The file order list for solid archiving - rarfiles.lst
  55.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56.  
  57.   rarfiles.lst contains user-defined file list which tells RAR
  58.   the order to add files to a solid archive. It may contain file
  59.   names, wildcards and special entry - $default. The default
  60.   entry defines the place in order list for files not matched
  61.   with other entries in this file. The comment character is ';'.
  62.  
  63.   In Windows this file should be placed in the same directory as RAR,
  64.   in Unix - to the user's home directory.
  65.  
  66.   Tips to provide improved compression and speed of operation:
  67.  
  68.   - similar files should be grouped together in the archive;
  69.   - frequently accessed files should be placed at the beginning.
  70.  
  71.  
  72.  RAR command line syntax
  73.  ~~~~~~~~~~~~~~~~~~~~~~~
  74.  
  75.  Syntax
  76.  
  77.     RAR <command> [ -<switches> ] <archive> <@listfiles...> [ <files...> ]
  78.  
  79.  Description
  80.  
  81.     Command line options (commands and switches) provides control of
  82.     creating and managing archives with RAR. The command is a string (or a
  83.     single letter) which commands RAR to perform a corresponding action.
  84.     Switches are designed to modify the way RAR performs the action. Other
  85.     parameters are archive name and files to be archived into or extracted
  86.     from the archive.
  87.  
  88.     In a UNIX environment you need to quote wildcards to avoid them being
  89.     processed by RAR itself. For example, this command will extract
  90.     *.asm files from RAR archives in current path:
  91.  
  92.        rar e '*.rar' '*.asm'
  93.  
  94.  
  95.     Command could be any of the following:
  96.  
  97.     a       Add files to archive.
  98.  
  99.             Example:
  100.  
  101.             create or update existent archive myarch, adding all files
  102.             in the current directory
  103.  
  104.             rar a myarch
  105.  
  106.  
  107.     c       Add archive comment. Comments are displayed while the archive is
  108.             being processed. Comment length is limited to 62000 bytes
  109.  
  110.             Examples:
  111.  
  112.             rar c distrib.rar
  113.  
  114.             Also comments may be added from a file:
  115.  
  116.             rar c -zinfo.txt dummy
  117.  
  118.  
  119.     cf      Add files comment. File comments are displayed when the 'v'
  120.             command is given. File comment length is limited to 32767 bytes.
  121.  
  122.             Example:
  123.  
  124.             rar cf bigarch *.txt
  125.  
  126.  
  127.     cw      Write archive comment to specified file.
  128.  
  129.             Example:
  130.  
  131.             rar cw oldarch comment.txt
  132.  
  133.  
  134.     d       Delete files from archive. Note, if the processing of this
  135.             command resulted in removing all the files from the archive, the
  136.             empty archive would removed.
  137.  
  138.  
  139.     e       Extract files to current directory.
  140.  
  141.  
  142.     f       Freshen files in archive. Updates those files changed since they
  143.             were packed to the archive. This command will not add new files
  144.             to the archive.
  145.  
  146.  
  147.     k       Lock archive. Any command which intend to change the archive
  148.             will be ignored.
  149.  
  150.             Example:
  151.  
  152.             rar k final.rar
  153.  
  154.  
  155.     l[t]    List contents of archive [technical]. Files are listed as with
  156.             the 'v' command with the exception of the file path. i.e. only
  157.             the file name is displayed. Optional technical information is
  158.             displayed when 't' modifier is used.
  159.  
  160.  
  161.     m[f]    Move to archive [files only]. Moving files and directories
  162.             results in the files and directories being erased upon
  163.             successful completion of the packing operation. Directories will
  164.             not be removed if 'f' modifier is used and/or '-ed' switch is
  165.             applied.
  166.  
  167.  
  168.     p       Print file to stdout.
  169.  
  170.  
  171.     r       Repair archive. Archive repairing is performed in two stages.
  172.             First, the damaged archive is searched for a recovery record
  173.             (see 'rr' command). If the archive contains a recovery record
  174.             and if the portion of the damaged data is continuous and less
  175.             than N*512 bytes, where N is number of recovery sectors placed
  176.             into the archive, the chance of successful archive
  177.             reconstruction is very high. When this stage has completed, a
  178.             new archive will be created, called _RECOVER.RAR.
  179.  
  180.             If a broken archive does not contain a recovery record or if
  181.             the archive is not completely recovered due to major damage, a
  182.             second stage is performed. During this stage only the archive
  183.             structure is reconstructed and it is impossible to recover
  184.             files which fail the CRC validation, it is still possible to
  185.             recover undamaged files which were inaccessible due to the
  186.             broken archive structure. Mostly this is useful for non-solid
  187.             archives.
  188.  
  189.             When the second stage is completed, the reconstructed archive
  190.             will be saved as _RECONST.RAR.
  191.  
  192.             While the recovery is in progress, RAR may prompt the user for
  193.             assistance when a suspicious file is detected.
  194.  
  195.                       Suspicious entry
  196.  
  197.               Name:  <possibly filename>
  198.               Size:  <size>    Packed: <compressed size>
  199.  
  200.                       Add it: Yes/No/All
  201.  
  202.             Answer 'y' to add this entry to the file _RECOVER.RAR.
  203.  
  204.             Example:
  205.  
  206.             rar r buggy.rar
  207.  
  208.  
  209.     rr[N]   Add data recovery record. Optionally, redundant information
  210.             (recovery record) may be added to an archive.  This will cause
  211.             a small increase of the archive size and helps to recover
  212.             archived files in case of floppy disk failure or data losses of
  213.             any other kind. A recovery record contains up to 8 recovery
  214.             sectors. The number of sectors may be specified directly in the
  215.             'rr' command (N = 1, 2 .. 8) or if it is not specified by the
  216.             user it will be selected automatically according to the archive
  217.             size:
  218.  
  219.                    Archive size       Number of sectors
  220.                      < 50Kb                   2
  221.                      50Kb-500Kb               4
  222.                      > 500Kb                  8
  223.  
  224.             If data are damaged continuously then each rr-sector helps to
  225.             recover 512 bytes of damaged information. This value may be
  226.             lower in cases of multiple damage.
  227.  
  228.             The size of the recovery record may be approximately determined
  229.             by the formula <archive size>/256 + <number of recovery
  230.             sectors>*512 bytes.
  231.  
  232.  
  233.     s[name] Convert archive to SFX. The archive is merged with SFX-module
  234.             (using a module in file default.sfx or specified in the switch).
  235.             In the Windows version default.sfx should be placed in the
  236.             same directory as the rar.exe, in Unix - in the user's home
  237.             directory.
  238.  
  239.     t       Test archive files. This command performs a dummy file
  240.             extraction, writing nothing to the output stream, in order to
  241.             validate the specified file(s).
  242.  
  243.             Examples:
  244.  
  245.             Test archives in current directory:
  246.  
  247.             rar t *
  248.  
  249.             or for Unix:
  250.  
  251.             rar t '*'
  252.  
  253.             User may test archives in all sub-directories, starting
  254.             with the current path:
  255.  
  256.             rar t -r *
  257.  
  258.             or for Unix:
  259.  
  260.             rar t -r '*'
  261.  
  262.  
  263.     u       Update files in archive. Adds files not already in the archive
  264.             and updates files changed since they were packed to the archive.
  265.  
  266.  
  267.     v[t]    Verbosely list the contents of archive [technical].
  268.             Files are listed using the format: full pathname, file comment,
  269.             original and compressed size, compression ratio, last update
  270.             date and time, attributes, CRC, compression method and minimum
  271.             RAR version required to extract. Optional technical information
  272.             is displayed when 't' modifier is used.
  273.  
  274.             To list the contents of all archive volumes, use an asterisk
  275.             ('*') in place of the archive file extension or use the '-v'
  276.             switch.
  277.  
  278.             Example:
  279.  
  280.             direct archive content list (technical) to a file
  281.  
  282.             rar vt bambam >bambam.lst
  283.  
  284.  
  285.     x       Extract files with full path.
  286.  
  287.             Example:
  288.  
  289.             rar x -av- -c- dime 10cents.txt
  290.  
  291.             extract specified file to current path. AV check and comment
  292.             show are disabled.
  293.  
  294.  
  295.     Switches (used in conjunction with a command):
  296.  
  297.  
  298.     -?      Display help on commands and switches. The same as when none
  299.             or an illegal command line option is entered.
  300.  
  301.     --      Stop switches scanning
  302.  
  303.             This switch tells to RAR that there is no more switches
  304.             in the command line. It could be useful, if either archive
  305.             or file name starts from '-' character. Without '--' switch
  306.             such name would be treated as switch.
  307.  
  308.             Example:
  309.  
  310.             add all files from the current folder to the solid archive
  311.             '-StrangeName'
  312.  
  313.             RAR a -s -- -StrangeName
  314.  
  315.     -ac     Clear Archive attribute after compression or extraction
  316.             (Windows version only).
  317.  
  318.     -ao     Add files with Archive attribute set
  319.             (Windows version only).
  320.  
  321.             Example:
  322.  
  323.             add all disk C: files with Archive attribute set
  324.             to the 'f:backup' and clear files Archive attribute
  325.  
  326.             rar a -r -ac -ao f:backup c:\*.*
  327.  
  328.     -ap     Set path inside archive. This path is merged to file
  329.             names when adding files to an archive and removed
  330.             from file names when extracting.
  331.  
  332.             For example, if you wish to add the file 'readme.txt'
  333.             to the directory 'DOCS\ENG' of archive 'release',
  334.             you may run:
  335.  
  336.             rar a -apDOCS\ENG release readme.txt
  337.  
  338.             or to extract 'ENG' to the current directory:
  339.  
  340.             rar x -apDOCS release DOCS\ENG\*.*
  341.  
  342.     -av     Put authenticity verification (registered versions only).
  343.             RAR will put, in every new and updated archive, information
  344.             concerning the creator, last update time and archive name.
  345.  
  346.             If an archive, containing authenticity verification, is being
  347.             modified and this switch is not specified, the authenticity
  348.             verification information will be removed.
  349.  
  350.             When extracting, testing, listing or updating and archive with
  351.             the '-av' switch, RAR will perform integrity validation and
  352.             display the message:
  353.  
  354.               Verifying authenticity information ...
  355.  
  356.             In the case of successful authenticity verification, the message
  357.             'Ok', creator name and last update information will be
  358.             displayed. In the case of authenticity verification failure, the
  359.             message 'FAILED' will be displayed.
  360.  
  361.             The Authenticity Verification feature, '-av,' is recommended for
  362.             use with archives in a software distribution environment.
  363.  
  364.             In order to enable the Authenticity verification feature, the
  365.             program MUST be registered. Please contact your local
  366.             distribution site or the world-wide distribution center.
  367.  
  368.  
  369.     -av-    Disable AV checking or adding.
  370.  
  371.  
  372.     -cfg-   Disable read configuration and environment.
  373.  
  374.  
  375.     -cl     Convert file names to lower case.
  376.  
  377.  
  378.     -cu     Convert file names to upper case.
  379.  
  380.  
  381.     -c-     Disable comments show.
  382.  
  383.  
  384.     -dh     Open shared files
  385.  
  386.             Allows to process files opened by other applications
  387.             for writing.
  388.  
  389.             This option could be dangerous, because it allows
  390.             to archive a file, which at the same time is modifying
  391.             by an other application, so use it carefully.
  392.  
  393.  
  394.     -ds     Do not sort files while adding to a solid archive.
  395.  
  396.  
  397.     -ep     Exclude paths from names. This switch enables files to be added
  398.             to an archive without including the path information. This
  399.             could, of course, result in multiple files existing in the
  400.             archive with the same name.
  401.  
  402.  
  403.     -ep1    Exclude base dir from names. Do not store the path entered in
  404.             the command line.
  405.  
  406.             Example:
  407.  
  408.             all files and directories from the directory tmp will be added
  409.             to the archive 'pasta', but the path will not include 'tmp\'
  410.  
  411.             rar a -ep1 -r pasta 'tmp\*'
  412.  
  413.             This is equivalent to the commands:
  414.  
  415.             cd tmp
  416.             rar a -ep1 -r pasta
  417.             cd ..
  418.  
  419.  
  420.     -e<atr> Specifies file exclude attributes mask. <atr> is a number in the
  421.             decimal, octal (with leading '0') or hex (with leading '0x')
  422.             format. If result of bitwise AND between <atr> and file
  423.             attributes is nonzero, then file would not be added to archive.
  424.  
  425.             In the Windows version also is possible to use instead of
  426.             digital mask symbols D, S, H, A and R to denote directories
  427.             and files with system, hidden, archive and read-only attributes.
  428.             The order in which the attributes are given is not significant.
  429.  
  430.  
  431.     -f      Freshen files. May be used with archive extraction or creation.
  432.             The command string "a -f" is equivalent to the command 'f', you
  433.             could also use the switch '-f' with the commands 'm' or 'mf'. If
  434.             the switch '-f' is used with the commands 'x' or 'e', then only
  435.             old files would be replaced with new versions extracted from the
  436.             archive.
  437.  
  438.  
  439.     -ierr   Send all messages to stderr.
  440.  
  441.  
  442.     -ilog   Log errors to file.
  443.  
  444.  
  445.     -inul   Disable all messages.
  446.  
  447.  
  448.     -isnd   Enable sound.
  449.  
  450.  
  451.     -kb     Keep broken extracted files.
  452.  
  453.             RAR, by default, deletes files with CRC errors after
  454.             extraction. The switch -kb specifies that files with
  455.             CRC errors should not be deleted.
  456.  
  457.  
  458.     -m<n>   Set compression method:
  459.  
  460.        -m0   store     do not compress file when adding to archive
  461.        -m1   fastest   use fastest method (less compressive)
  462.        -m2   fast      use fast compression method
  463.        -m3   normal    use normal (default) compression method
  464.        -m4   good      use good compression method (more
  465.                        compressive, but slower)
  466.        -m5   best      use best compression method (slightly more
  467.                        compressive, but slowest)
  468.  
  469.             By default RAR uses -m3 method (Normal compression).
  470.  
  471.  
  472.     -md<n>  Select dictionary size <n> in Kb. Must be 64, 128, 256, 512 or
  473.             1024 or a letter 'a', 'b', 'c', 'd' or 'e' respectively.
  474.  
  475.             The sliding dictionary is a special memory area used by the
  476.             compression algorithm. If the size of the file being compressed
  477.             (or the total files size in the case of a solid archive) is
  478.             greater than the dictionary size, then increasing the dictionary
  479.             size will generally increase compression ratio, decrease packing
  480.             speed and increase memory requirements.
  481.  
  482.             Default sliding dictionary size in 32-bit versions of RAR is 256
  483.             Kb. In RAR versions for Unix, Windows and other 32-bit platforms
  484.             it is possible to select five different sizes: 64, 128, 256, 512
  485.             or 1024 Kb. Besides, speed of extraction in these versions does
  486.             not depend upon dictionary size. In 16-bit version RAR for DOS
  487.             the sliding dictionary size is fixed and equal to 64 Kb.
  488.             Though RAR for DOS provides extracting files from large
  489.             dictionary archives.
  490.  
  491.             The amount of memory required to create large dictionary
  492.             archives is determined as 5*<dictionary size>+2048Kb. About 1 Mb
  493.             is required for extraction and 5*<dictionary size>+3072Kb to
  494.             update solid archives.
  495.  
  496.             RAR for DOS can extract from large dictionary archives using
  497.             conventional, EMS and disk memory. If no EMS or disk
  498.             cache is available, the operation may slow down significantly. RAR
  499.             for DOS cannot convert large dictionary archives to SFX with the
  500.             default SFX module and cannot update such solid archives.
  501.  
  502.             Example:
  503.  
  504.             RAR a -s -mdd sources *.asm
  505.                 or
  506.             RAR a -s -md512 sources *.asm
  507.  
  508.             Will create a solid archive using a 512 Kb dictionary.
  509.  
  510.     -mm[f]  Multimedia compression [force]. Enables a special multimedia
  511.             compression algorithm. It is intended to compress digital audio
  512.             data containing up to four 8-bit or two 16-bit channels. It
  513.             works well with  true color (24-bit) bitmaps as well.
  514.             Improvement in the compression ratio up to 30% over the normal
  515.             compression may be achieved.
  516.  
  517.             When archiving file in the multimedia mode RAR performs
  518.             intelligent data analysis and may use, for different parts of
  519.             the file, general or multimedia compression depending on which
  520.             is more suitable. Such analysis allows optimum performance when
  521.             different data types are merged in the same file. The 'f'
  522.             modifier forces the multimedia compression to be used for the
  523.             whole file; it may help when certain multimedia files are to be
  524.             compressed, but in most cases only increases archive size.
  525.  
  526.             Both the -m<N> "Set compression method" and -s "Create solid
  527.             archive" switches can be used with multimedia compression,
  528.             but they are in effect for those file parts where the general
  529.             algorithm applies.
  530.  
  531.             If -mm is used with non-multimedia data, the compression ratio
  532.             is usually unchanged in comparison with the general method, but
  533.             due to multimedia analysis overhead, the packing speed is always
  534.             slower. The usage of -mm is not recommended with normal data
  535.             files.
  536.  
  537.             Example:
  538.  
  539.             rar a -m5 -s -mm All_My_Songs.rar *.wav
  540.  
  541.             Use the tightest compression method, solid archiving and
  542.             multimedia compression with smart analysis, which method
  543.             should be applied for particular data:
  544.  
  545.  
  546.     -ol     Save symbolic links as the link instead of the file.
  547.             Unix versions only.
  548.  
  549.  
  550.     -ow     Save file owner and group information.
  551.             Unix versions only.
  552.  
  553.  
  554.     -o+     Overwrite existing files.
  555.  
  556.  
  557.     -o-     Do not overwrite existing files.
  558.  
  559.  
  560.     -p<p>   Encrypt files with the string <p> as password while archiving.
  561.             The password is case-sensitive. If you omit the password on the
  562.             command line, you will be prompted with message "Enter password".
  563.  
  564.             Example:
  565.  
  566.             rar a -pmyhoney secret1 *.txt
  567.  
  568.             add files *.txt and encrypt them with password "myhoney".
  569.  
  570.  
  571.     -p-     Do not query password
  572.  
  573.  
  574.     -r      Recurse subdirectories. May be used with commands:
  575.             a, u, f, m, x, e, t, p, v, l, c, cf and s.
  576.  
  577.             When used with the commands 'a', 'u', 'f', 'm' will process
  578.             files in all sub-directories as well as the current working
  579.             directory.
  580.  
  581.             When used with the commands x, e, t, p, v, l, c, cf or s will
  582.             process all archives in sub-directories as well as the current
  583.             working directory.
  584.  
  585.  
  586.     -r0     Similar to -r, but when used with the commands 'a', 'u', 'f',
  587.             'm' will recurse subdirectories only for those names, which
  588.             include wildcard characters '*' and '?'
  589.  
  590.  
  591.     -ri<p>[:<s>]
  592.             Set priority and sleep time. Available only in RAR for Windows.
  593.             This switch is used to regulate system load by RAR in a
  594.             multitasking environment. The possible task priority values are
  595.             from 0 to 15. When <p> is equal to 0, the default task priority
  596.             is used, 1 corresponding to the lowest task priority, 15 - to
  597.             the highest. The sleep time <s> is a value from 0 to 1000
  598.             (milliseconds). This is the period of time that RAR will give
  599.             back to system after every read or write during the packing or
  600.             unpacking operation. The sleep time setting is useful when
  601.             several tasks with the same priority are running in the system.
  602.  
  603.             Example:
  604.  
  605.             execute RAR with default priority and 10 ms of sleep after
  606.             each read or write
  607.  
  608.             rar a -r -sfx -ri0:10 backup *.*
  609.  
  610.  
  611.     -rr[N]  Add a data recovery record. This switch is used when creating or
  612.             modifying archive to add a data recovery record to the archive.
  613.             See the 'rr[N]' command description for details.
  614.  
  615.  
  616.     -s      Create solid archive. Solid is a special archive type. Please
  617.             refer to the appendix "Glossary" for further information.
  618.  
  619.             Example:
  620.  
  621.             create solid archive sources.rar with 512 Kb dictionary,
  622.             recursing all directories, starting with the current directory.
  623.             Add only .asm files:
  624.  
  625.             rar a -s -md512 sources.rar *.asm -r
  626.  
  627.  
  628.     -s<N>   Create solid groups using file count
  629.  
  630.             Similar to -s, but reset solid statistics after compressing
  631.             <N> files. Usually decreases compression, but also
  632.             decreases losses in case of solid archive damages.
  633.  
  634.  
  635.     -se     Create solid groups using extension
  636.  
  637.             Similar to -s, but reset solid statistics if file extension
  638.             is changed. Usually decreases compression, but also
  639.             decreases losses from solid archive damages.
  640.  
  641.  
  642.     -sv     Create independent solid volumes
  643.  
  644.             Similar to -s, but reset solid statistics as soon as possible
  645.             when starting a new volume. Ignored, if used to create
  646.             non-volume archive. Usually slightly decreases compression, but
  647.             also seriously decreases data losses, when one volume in volume
  648.             set is damaged. In such case you may try to start extraction
  649.             from the next volume after damaged. Note that because
  650.             of internal buffering, sometimes RAR cannot reset dictionary
  651.             immediately after creating a new volume and one or more small
  652.             files in the beginning of new volume may still use data from
  653.             the previous volume.
  654.  
  655.  
  656.     -s-     Disable solid archiving
  657.  
  658.  
  659.     -sfx[name]
  660.             Create SFX archives. If this switch is used when creating a new
  661.             archive, a Self-Extracting archive (using a module in file
  662.             default.sfx or specified in the switch) would be created.
  663.             In the Windows version default.sfx should be placed in the
  664.             same directory as the rar.exe, in Unix - in the user's home
  665.             directory.
  666.  
  667.             Example:
  668.  
  669.             rar a -sfxidos.sfx -zscript.s myinst
  670.  
  671.             create SelF-eXtracting (SFX) archive using specified SFX-module
  672.             and special installation script.
  673.  
  674.  
  675.     -tk     Keep original archive date. Prevents RAR from modifying the
  676.             archive date when changing an archive.
  677.  
  678.  
  679.     -tl     Set archive time to newest file. Forces RAR to set the date of a
  680.             changed archive to the date of the newest file in the archive.
  681.  
  682.  
  683.     -u      Update files. May be used with archive extraction or creation.
  684.             The command string "a -u" is equivalent to the command 'u', you
  685.             could also use the switch '-u' with the commands 'm' or 'mf'. If
  686.             the switch '-u' is used with the commands 'x' or 'e', then files
  687.             not present on the disk and files newer than their copies on the
  688.             disk would extracted from the archive.
  689.  
  690.  
  691.     -v<size>[k|b|f]
  692.             Create volumes with size=<size>*1000 [*1024 | *1].
  693.             By default this switch uses <size> as thousands (1000) of bytes
  694.             (not 1024 x bytes). You may also enter the size in kilobytes
  695.             using the symbol 'k', in bytes using the symbol 'b' or
  696.             select one from several predefined values using the symbol 'f'
  697.             following the numerical value. Predefined values can be
  698.             360, 720, 1200, 1440 or 2880 and replaced with corresponding
  699.             floppy disk size.
  700.  
  701.             If the size is omitted, autodetection will be used.
  702.  
  703.             If volumes are created on the same drive as the temporary files
  704.             (current drive by default, but may be changed with the switch
  705.             '-w'), the autodetected size becomes meaningless. In this case
  706.             the volume size must be explicitly defined.
  707.  
  708.             If volumes are created on a drive OTHER than the drive
  709.             containing the temporary files, then after the first volume has
  710.             been created, the user will be prompted with:
  711.  
  712.               Create next volume: Yes/No/All/Quit
  713.  
  714.             At this moment in time, you should change the disks. Answering
  715.             'A' will cause all volumes to be created without a pause.
  716.  
  717.             The first volume file in a multi-volume set has the extension
  718.             .RAR, following volumes are numbered from .R00 to .R99.
  719.  
  720.             When extracting or testing a multi-volume archive you must use
  721.             only the first volume name (*.RAR). If there is no next volume
  722.             on the drive and the disk is removable, the user will be
  723.             prompted with:
  724.  
  725.              Insert disk with <next volume name>
  726.  
  727.             Insert the disk with the correct volume and press any key.
  728.  
  729.             If while extracting, the next volume is not found and volumes
  730.             are placed on the non-removable disk, RAR will abort with
  731.             the error message:
  732.  
  733.              Cannot find <volume name>
  734.  
  735.             Archive volumes may not be modified. The commands 'd', 'f', 'u',
  736.             's' can not be used with Multi-volume sets. The command 'a' may
  737.             be used only for the creation of a new multi-volume sequence.
  738.  
  739.             It is possible, although unlikely, that the file size, of a file
  740.             in a multi-volume set, could be greater than it's uncompressed
  741.             size. This is due to the fact that 'storing' (no compression if
  742.             size increases) cannot be enabled for multi-volume sets.
  743.  
  744.             Archive volumes may be Self-Extracting (SFX). Such an archive
  745.             should be created using both the '-v' and '-sfx' switches.
  746.  
  747.             Example:
  748.  
  749.             create archive in volumes of fixed size:
  750.  
  751.             rar a -s -v1440 floparch.rar *.*
  752.  
  753.             will create solid volumes of size 1440000 bytes.
  754.  
  755.     -vd     erase disk contents before creating volume
  756.  
  757.             All files and directories on the target disk will be erased
  758.             when '-vd' is used.  The switch applies only to removable
  759.             media, the hard disk cannot be erased using this switch.
  760.  
  761.     -w<p>   Assign work directory as <p>. This switch may be used to assign
  762.             the directory for temporary files.
  763.  
  764.  
  765.     -x<f>   Exclude specified file <f>, wildcards may be used. You may
  766.             specify the switch '-x' several times:
  767.  
  768.             Example:
  769.  
  770.             rar a -r -x*.bak -x*.rar rawfiles
  771.  
  772.             *.bak and *.rar files will not be added to rawfiles
  773.  
  774.  
  775.     -x@<lf> Exclude files using specified list file.
  776.  
  777.             Example:
  778.  
  779.             rar a -x@exlist.txt arch *.exe
  780.  
  781.  
  782.     -y      Assume Yes on all queries.
  783.  
  784.  
  785.     -z<f>   Read archive comment from file <f>.
  786.  
  787.  
  788.  Environment variable
  789.  ~~~~~~~~~~~~~~~~~~~~
  790.  
  791.     Default parameters may be added to the RAR command line by establishing
  792.     an environment variable "RAR".
  793.  
  794.     For instance, in UNIX following lines may be added to your profile:
  795.  
  796.       RAR='-s -md1024'
  797.       export RAR
  798.  
  799.     RAR will use this string as default parameters in the command line and
  800.     will create "solid" archives with 1024 Kb sliding dictionary size.
  801.  
  802.     RAR handles options with priority as following:
  803.  
  804.        command line switches                   highest priority
  805.        switches in the RAR variable            lower priority
  806.        switches saved in configuration file    lowest priority
  807.  
  808.  
  809.  Limitations
  810.  ~~~~~~~~~~~
  811.  
  812.     Pathname is limited to 259 symbols.
  813.  
  814.     Maximum archive comment length is 62000 bytes.
  815.  
  816.     Command limitations:
  817.  
  818.     The commands 'd','u','f','c','cf' will not operate with archive
  819.     volumes.
  820.  
  821.     The command 'a' cannot be used to update an archive volume, only to
  822.     create one.
  823.  
  824.  
  825.  Exit values
  826.  ~~~~~~~~~~~
  827.  
  828.     RAR exits with a zero code (0) in case of successful operation. The exit
  829.     code of non-zero means the operation is cancelled due to error:
  830.  
  831.      255   USER BREAK       User stopped the process
  832.  
  833.        8   MEMORY ERROR     Not enough memory for operation
  834.  
  835.        7   USER ERROR       Command line option error
  836.  
  837.        6   OPEN ERROR       Open file error
  838.  
  839.        5   WRITE ERROR      Write to disk error
  840.  
  841.        4   LOCKED ARCHIVE   Attempt to modify an archive previously locked
  842.                             by the 'k' command
  843.  
  844.        3   CRC ERROR        A CRC error occurred when unpacking
  845.  
  846.        2   FATAL ERROR      A fatal error occurred
  847.  
  848.        1   WARNING          Non fatal error(s) occurred
  849.  
  850.        0   SUCCESS          Successful operation (User exit)
  851.  
  852.  
  853.  Glossary
  854.  ~~~~~~~~
  855.  
  856.     Archive      Special file containing one or more files optionally
  857.                  compressed and/or encrypted.
  858.  
  859.     Compression  A method of encoding data to reduce it's size.
  860.  
  861.     CRC          Cyclic Redundancy Check. Mathematical method calculating
  862.                  special checking information for data validity.
  863.  
  864.     SFX          Archive module used to extract files from when executed.
  865.                  (SelF-eXtracting module), usually in the form of a .EXE
  866.                  file.
  867.  
  868.     Solid        An archive packed using a special compression method which
  869.                  sees all files as one continuous data stream. Particularly
  870.                  advantageous when packing a large number of small files.
  871.  
  872.     Volume       Part of a split archive. Splitting an archive to volumes
  873.                  allows storing them on diskettes. Solid volumes must be
  874.                  extracted starting from first in sequence.
  875.  
  876.  
  877.  
  878.  Copyrights
  879.  
  880.     (c) 1993-99 Eugene Roshal
  881.  
  882.  
  883.  
  884.