home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.sepub/pictures / 2014.11.ftp.sunet.se-pictures.tar / ftp.sunet.se / pub / pictures / ACiD-artpacks / programs / unix / archivers / rar20sco.sfx / rar.txt < prev    next >
Text File  |  1996-06-27  |  29KB  |  775 lines

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