Rar, programy
[ Pobierz całość w formacie PDF ]
User's Manual~~~~~~~~~~~~~RAR 3.71 32-bit console version~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=-=-=-=-=-=-=-=-=-=-=-=-=-=-Welcome to the RAR Archiver!-=-=-=-=-=-=-=-=-=-=-=-=-=-=Introduction~~~~~~~~~~~~RAR is a powerful tool allowing you to manage and control archivefiles. Console RAR supports archives only in RAR format, the namesof which usually have a ".rar" extension. ZIP and other formatsare not supported. Windows users may install GUI RAR version - WinRAR,which is able to process many more archive types.RAR features include:* Highly sophisticated, original compression algorithm* Special compression algorithms optimized for text, audio,graphics data, 32 and 64-bit Intel executables* Better compression than similar tools, using 'solid' archiving* Authenticity verification (registered version only)* Self-extracting archives and volumes (SFX)* Ability to recover physically damaged archives* Locking, password, file order list, file security & more ...Configuration file~~~~~~~~~~~~~~~~~~RAR for Unix reads configuration information from the file .rarrcin the user's home directory (stored in HOME environment variable)or in /etc directory.RAR for Windows reads configuration information from the file rar.ini,placed in the same directory as the rar.exe file.This file may contain the following string:switches=any RAR switches, separated by spacesFor example:switches=-m5 -sEnvironment variable~~~~~~~~~~~~~~~~~~~~Default parameters may be added to the RAR command line by establishingan environment variable "RAR".For instance, in UNIX following lines may be added to your profile:RAR='-s -md1024'export RARRAR will use this string as default parameters in the command line andwill create "solid" archives with 1024 KB sliding dictionary size.RAR handles options with priority as following:command line switches highest priorityswitches in the RAR variable lower priorityswitches saved in configuration file lowest priorityLog file~~~~~~~~If the switch -ilog is specified in the command line or configurationfile, RAR will write informational messages, concerning errorsencountered while processing archives, into a log file. Read switch-ilog description for more details.The file order list for solid archiving - rarfiles.lst~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~rarfiles.lst contains a user-defined file list, which tells RARthe order in which to add files to a solid archive. It may containfile names, wildcards and special entry - $default. The defaultentry defines the place in order list for files not matchedwith other entries in this file. The comment character is ';'.In Windows this file should be placed in the same directory as RARor in %APPDATA%\WinRAR directory, in Unix - to the user's home directoryor in /etc.Tips to provide improved compression and speed of operation:- similar files should be grouped together in the archive;- frequently accessed files should be placed at the beginning.Normally masks placed nearer to the top of list have a higher priority,but there is an exception from this rule. If rarfiles.lst contains suchtwo masks that all files matched by one mask are also matched by another,that mask which matches a smaller subset of file names will have higherpriority regardless of its position in the list. For example, if you have*.cpp and f*.cpp masks, f*.cpp has a higher priority, so the position of'filename.cpp' will be chosen according to 'f*.cpp', not '*.cpp'.RAR command line syntax~~~~~~~~~~~~~~~~~~~~~~~SyntaxRAR <command> [ -<switches> ] <archive> [ <@listfiles...> ][ <files...> ] [ <path_to_extract\> ]DescriptionCommand line options (commands and switches) provide control ofcreating and managing archives with RAR. The command is a string (or asingle letter) which commands RAR to perform a corresponding action.Switches are designed to modify the way RAR performs the action. Otherparameters are archive name and files to be archived into or extractedfrom the archive.Listfiles are plain text files that contain names of files to process.File names should start at the first column. It is possible toput comments to the listfile after // characters. For example,you may create backup.lst containing the following strings:c:\work\doc\*.txt //backup text documentsc:\work\image\*.bmp //backup picturesc:\work\miscand then run:rar a backup @backup.lstIf you wish to read file names from stdin (standard input),specify the empty listfile name (just @).Win32 console RAR uses OEM (DOS) encoding in list files.You may specify both usual file names and list files in the samecommand line. If neither files nor listfiles are specified,then *.* is implied and RAR will process all filesIn a UNIX environment you need to quote wildcards to avoid thembeing expanded by shell. For example, this command will extract*.asm files from RAR archives in current path:rar e '*.rar' '*.asm'Command could be any of the following:a Add files to archive.Example:create or update existent archive myarch, adding all filesin the current directoryrar a myarchc Add archive comment. Comments are displayed while the archive isbeing processed. Comment length is limited to 62000 bytesExamples:rar c distrib.rarAlso comments may be added from a file using -z[file] switch.The following command adds a comment from info.txt file:rar c -zinfo.txt dummycf Add files comment. File comments are displayed when the 'v'command is given. File comment length is limited to 32767 bytes.Example:rar cf bigarch *.txtch Change archive parameters.This command can be used with most of archive modificationswitches to modify archive parameters. It is especiallyconvenient for switches like -av, -cl, -cu, -tl, which do nothave a dedicated command.It is not able to recompress, encrypt or decrypt archive dataand it cannot merge or create volumes. If used without anyswitches, 'ch' command just copies the archive data withoutmodification.Example:Set archive time to latest file:rar ch -tl files.rarcw Write archive comment to specified file.Format of output file depends on -sc switch.Examples:1) rar cw arc comment.txt2) rar cw -scuc arc unicode.txtd Delete files from archive. Please note if the processing of thiscommand results in removing all the files from the archive,the empty archive would removed.e Extract files to current directory.f Freshen files in archive. Updates those files changed since theywere packed to the archive. This command will not add new filesto the archive.i[i|c|h|t]=<string>Find string in archives.Supports following optional parameters:i - case insensitive search (default);c - case sensitive search;h - hexadecimal search;t - use ANSI, Unicode and OEM character tables (Win32 only);If no parameters are specified, it is possible to usethe simplified command syntax i<string> instead of i=<string>It is allowed to specify 't' modifier with other parameters,for example, ict=string performs case sensitive searchusing all mentioned above character tables.Examples:1) rar "ic=first level" -r c:\*.rar *.txtPerform case sensitive search of "first level" stringin *.txt files in *.rar archives on the disk c:2) rar ih=f0e0aeaeab2d83e3a9 -r e:\textsSearch for hex string f0 e0 ae ae ab 2d 83 e3 a9in rar archives in e:\texts directory.k Lock archive. Any command which intends to change the archivewill be ignored.Example:rar k final.rarl[t,b] List contents of archive [technical]. Files are listed as withthe 'v' command with the exception of the file path. i.e. onlythe file name is displayed. Optional technical information(host OS, solid flag and old version flag) is displayedwhen 't' modifier is used. Modifier 'b' forces RAR to outputonly bare file names without any additional information.m[f] Move to archive [files only]. Moving files and directoriesresults in the files and directories being erased uponsuccessful completion of the packing operation. Directories willnot be removed if 'f' modifier is used and/or '-ed' switch isapplied.p Print file to stdout.You may use this...
[ Pobierz całość w formacie PDF ]