⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rar.txt

📁 linux下面使用的rar 解压缩的东西
💻 TXT
📖 第 1 页 / 共 3 页
字号:
            Example:            add all files from the current directory to the solid archive            '-StrangeName'            RAR a -s -- -StrangeName    -ac     Clear Archive attribute after compression or extraction            (Windows version only).    -ag[format]            Generate archive name using the current date and time.            Appends the current date string to an archive name when            creating an archive. Useful for daily backups.            Format of the appending string is defined by the optional            "format" parameter or by "YYYYMMDDHHMMSS" if this parameter            is absent. Format string may include the following characters:            Y   - year            M   - month            MMM - month name as text string (Jan, Feb, etc.)            W   - a week number (a week starts with Monday)            A   - day of week number (Monday is 1, Sunday - 7)            D   - day of month            E   - day of year            H   - hours            M   - minutes (treated as minutes if encountered after hours)            S   - seconds            All other characters are added to an archive name without            changes.            Examples:            1) use the default YYYYMMDDHHMMSS format               rar a -ag backup            2) use DD-MMM-YY format               rar a -agDD-MMM-YY backup            3) use YYYYMMDDHHMM format               rar a -agYYYYMMDDHHMM backup            4) use YYYY-WW-A format               rar a -agYYYY-WW-A backup    -ao     Add files with Archive attribute set            (Windows version only).            Example:            add all disk C: files with Archive attribute set            to the 'f:backup' and clear files Archive attribute            rar a -r -ac -ao f:backup c:\*.*    -ap     Set path inside archive. This path is merged to file            names when adding files to an archive and removed            from file names when extracting.            For example, if you wish to add the file 'readme.txt'            to the directory 'DOCS\ENG' of archive 'release',            you may run:            rar a -apDOCS\ENG release readme.txt            or to extract 'ENG' to the current directory:            rar x -apDOCS release DOCS\ENG\*.*    -as     Synchronize archive contents            If this switch is used when archiving, those archived files            which are not present in the list of the currently added            files, will be deleted from archive. It is convenient to use            this switch in combination with -u (update) to synchronize            contents of an archive and an archiving directory.            For example, after the command:            rar a -u -as backup sources\*.cpp            the archive 'backup.rar' will contain only *.cpp files            from directory 'sources', all other files will be deleted            from the archive. It looks similar to creating a new archive,            but with the one important exception: if no files are            modified since a last backup, the operation is performed            much faster than creation of a new archive.    -av     Put authenticity verification (registered versions only).            RAR will put, in every new and updated archive, information            concerning the creator, last update time and archive name.            If an archive, containing authenticity verification, is being            modified and this switch is not specified, the authenticity            verification information will be removed.            When extracting, testing, listing or updating and archive with            the '-av' switch, RAR will perform integrity validation and            display the message:              Verifying authenticity information ...            In the case of successful authenticity verification, the message            'Ok', creator name and last update information will be            displayed. In the case of authenticity verification failure, the            message 'FAILED' will be displayed.            The Authenticity Verification feature, '-av,' is recommended for            use with archives in a software distribution environment.            In order to enable the Authenticity verification feature, the            program MUST be registered. Please contact your local            distribution site or the world-wide distribution center.    -av-    Disable authenticity verification checking or adding.    -cfg-   Disable read configuration and environment.    -cl     Convert file names to lower case.    -cu     Convert file names to upper case.    -c-     Disable comments show.    -df     Delete files after archiving            Move files to archive. This switch in combination with            the command "A" performs the same action as the command "M".               -dh     Open shared files            Allows to process files opened by other applications            for writing.            This option could be dangerous, because it allows            to archive a file, which at the same time is modifying            by an other application, so use it carefully.    -ds     Do not sort files while adding to a solid archive.    -ed     Do not add empty directories            This switch indicates that empty directories are not to be            stored in the created archive.    -ee     Do not process extended attributes            Disables saving and restoring extended file attributes.            Only for OS/2 and BeOS versions.    -ep     Exclude paths from names. This switch enables files to be added            to an archive without including the path information. This            could, of course, result in multiple files existing in the            archive with the same name.    -ep1    Exclude base dir from names. Do not store the path entered in            the command line.            Example:            all files and directories from the directory tmp will be added            to the archive 'test', but the path in archived names will not            include 'tmp\'            rar a -ep1 -r test tmp\*            This is equivalent to the commands:            cd tmp            rar a -r ..\test            cd ..    -ep2    Expand paths to full. Store full file paths (except a drive            letter and leading path separator) when archiving.        -e<atr> Specifies file exclude attributes mask. <atr> is a number in the            decimal, octal (with leading '0') or hex (with leading '0x')            format. If result of bitwise AND between <atr> and file            attributes is nonzero, then file would not be added to archive.            In the Windows version also is possible to use instead of            digital mask symbols D, S, H, A and R to denote directories            and files with system, hidden, archive and read-only attributes.            The order in which the attributes are given is not significant.    -f      Freshen files. May be used with archive extraction or creation.            The command string "a -f" is equivalent to the command 'f', you            could also use the switch '-f' with the commands 'm' or 'mf'. If            the switch '-f' is used with the commands 'x' or 'e', then only            old files would be replaced with new versions extracted from the            archive.    -idp    Disable percentage indicator.            May be useful when redirecting output to a file.    -ierr   Send all messages to stderr.    -ilog   Log errors to file (registered version only).    -inul   Disable all messages.    -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)            By default RAR uses -m3 method (Normal compression).    -md<n>  Select dictionary size <n> in KB. Must be 64, 128, 256, 512 or            1024 or a letter 'a', 'b', 'c', 'd' or 'e' respectively.            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.            Default sliding dictionary size in 32-bit versions of RAR is 1024            KB. In RAR versions for Unix, Windows and other 32-bit platforms            it is possible to select five different sizes: 64, 128, 256, 512            or 1024 KB. Besides, speed of extraction in these versions does            not depend upon dictionary size. In 16-bit version RAR for DOS            the sliding dictionary size is fixed and equal to 64 KB.            Though RAR for DOS provides extracting files from large            dictionary archives.            The amount of memory required to create large dictionary            archives is determined as 5*<dictionary size>+2560KB. About 1 Mb            is required for extraction and 5*<dictionary size>+3584KB to            update solid archives.            RAR for DOS can extract from large dictionary archives using            conventional, EMS and disk memory. If no EMS or disk            cache is available, the operation may slow down significantly. RAR            for DOS cannot convert large dictionary archives to SFX with the            default SFX module and cannot update such solid archives.            Example:            RAR a -s -mdd sources *.asm                or            RAR a -s -md512 sources *.asm            Will create a solid archive using a 512 KB dictionary.    -mm[f]  Multimedia compression [force]. Enables a special multimedia            compression algorithm. It is intended to compress digital audio            data containing up to four 8-bit or two 16-bit channels. It            works well with  true color (24-bit) bitmaps as well.            Improvement in the compression ratio up to 30% over the normal            compression may be achieved.            When archiving file in the multimedia mode RAR performs            intelligent data analysis and may use, for different parts of            the file, general or multimedia compression depending on which            is more suitable. Such analysis allows optimum performance when            different data types are merged in the same file. The 'f'            modifier forces the multimedia compression to be used for the            whole file; it may help when certain multimedia files are to be            compressed, but in most cases only increases archive size.            Both the -m<N> "Set compression method" and -s "Create solid            archive" switches can be used with multimedia compression,            but they are in effect for those file parts where the general            algorithm applies.            If -mm is used with non-multimedia data, the compression ratio            is usually unchanged in comparison with the general method, but            due to multimedia analysis overhead, the packing speed is always            slower. The usage of -mm is not recommended with normal data            files.            Example:            rar a -m5 -s -mm All_My_Songs.rar *.wav            Use the tightest compression method, solid archiving and            multimedia compression with smart analysis, which method            should be applied for particular data.    -ol     Save symbolic links as the link instead of the file.            Unix and BeOS versions only.    -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, which uses streams to keep some file dependent            information like file descriptions. If you use RAR to backup            your NTFS disks, it is recommended to specify this switch.    -ow     Use this switch when archiving to save file security            information and when extracting to restore it.            Unix and BeOS RAR versions save file owner and group            when using this switch.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -