Linux decompression rar file (Unrar installation and use, sub-volume decompression)
Windows platform A lot of compressed documents for RAR files, then how to do Linux decompression rar file (Unrar installation and use)?
Simple, CENTOS5 installation Unrar can be. Unrar Installation methods are as follows:
wget HTTP://DAG.WIEERS.COM/RPM/PACKAGES/UNRAR/UNRAR-3.6.8-1.EL5.RF.I386.RPM;RPM-UVH unrar-3.6.8-1.el5.rf.i386.rpm;
Copy the above command and execute it under root.
Basic Unrar Usage : unrar x-o--y ctohome.com.rar/home/www. ctohome.com/ (CTOHome.com.rar file, unzip to/home/www. Ctohome.com directory. Be aware that the Extract directory must be / ended)
Unrar Sub-volume decompression : Assume that the first volume of the file name ctohome.r00, all the sub-volumes are in the same directory.
Then direct unrar x-o--y ctohome.r00/home/www.ctohome.com/
Unrar Downloads for other operating systems: http://dag.wieers.com/rpm/packages/unrar/
Unrar Use Help
Usage: Unrar < commands >-< switch 1>-< switch n> < zip file > < file ...>
<@ List file ...> < unzip path \>
< comments >
E Unzip the compressed file to the current directory
L[T,B] List compressed files [technical information, concise]
P print file to standard output device
T test compressed files
V[T,B] Detailed list of compressed files [technical information, concise]
x extract files with absolute path
< switches >
-Stop Scanning
Clearing archive properties After AC compression or decompression
Ad adds a compressed file name to the destination path
ap< path > Add path to Compressed file
av-Disabling user identity checking
C-Disable Comment display
cfg-Disabling Read configuration
CL name converted to lowercase
CU name converted to uppercase
DH Open Shared File
EP excludes paths from names
The EP3 extension path is the full path that contains the drive letter
F Refreshing files
ID[C,D,P,Q] Suppress information display
Ierr send all messages to standard error devices
Inul Disable all messages
Ioff power off the PC after completing an operation
KB preserves corrupted extracted files
n< file > include only specified files
[email protected] read the name of the file to include from the standard input device
[Email protected]< list > include file in specified list file
o+ Overwrite Existing Files
o does not overwrite existing files
OC Setting NTFS Compression Properties
or automatically rename files
ow saving or restoring file ownership and Groups
[Password] Set password
P do not ask for password
R contains subdirectories
Ri<p>[:<s>] Set Priority (0-default, 1-Minimum: 15-Max) and sleep Time (MS)
sl< size > Processing files smaller than the specified size
sm< size > Handling files larger than the specified size
ta< Date > Add date < date > After modified file, date format YYYYMMDDHHMMSS
tb< Date > Add Date < date > pre-Modified file, date format YYYYMMDDHHMMSS
tn< time > Add < time > Future files
to< time > Add < time > previous files
Ts<m,c,a>[n] Save or restore file time (modify, create, access)
U update file
V List all volumes
Ver[n] File version control
VP paused before each volume
x< file > exclude specified files
[email protected] read the file name to be excluded from the standard input device
[Email protected]< list > exclude files from the specified list file
Y Suppose the answer to all questions is
UNRAR 3.60 freeware Copyright (c) 1993-2006 Alexander Roshal
Usage:unrar <command>-<switch 1>-<switch n> <archive> <files...>
< @listfiles ...> <path_to_extract\>
<Commands>
e Extract files to current directory
L[T,B] List Archive [technical, bare]
P Print file to stdout
T Test archive files
V[T,B] verbosely list archive [Technical,bare]
x Extract files with full path
<Switches>
-Stop Switches Scanning
Ad Append archive name to destination path
Ap<path> Set path Inside archive
Av-disable Authenticity Verification Check
C-disable Comments Show
Cfg-disable Read Configuration
CL Convert names to lower case
CU Convert names to upper case
DH Open shared files
EP Exclude Paths from Names
EP3 Expand paths to full including
F Freshen Files
ID[C,D,P,Q] Disable messages
Ierr Send all messages to stderr
Inul Disable All messages
KB Keep Broken extracted files
N<file> Include only specified file
[Email protected] Read file names to include from stdin
[Email protected]<list> Include files in specified list file
o+ Overwrite Existing Files
O-do not overwrite existing files
or Rename files automatically
ow Save or restore file owner and group
P[password] Set Password
P-do not query password
R Recurse Subdirectories
Sl<size> Process files with a size less than specified
sm<size> Process files with size more than specified
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format
tn<time> Process files newer than <time>
To<time> Process files older than <time>
Ts<m,c,a>
Linux unzip rar file