Linux下使用unrar解壓RAR包
一.下載地址:
二.安裝:
[root@centos sybaseiq]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@centos sybaseiq]# uname -r
2.6.18-164.el5
[root@centos sybaseiq]# rpm -ivh unrar-3.9.4-1.el5.rf.i386.rpm
三.幫助:
[root@centos lib]# unrar
UNRAR 3.90 beta 3 freeware Copyright (c) 1993-2009 Alexander Roshal
Usage: unrar
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
- Stop switches scanning
ad Append archive name to destination path
ai Ignore file attributes
ap
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 the drive letter
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
n@ Read file names to include from stdin
n@> Include files listed in specified list file
o[+|-] Set the overwrite mode
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
sm
ta
tb
tn
to
ts
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x
x@ Read file names to exclude from stdin
x@> Exclude files listed in specified list file
y Assume Yes on all queries
四.例子:
1.檢視rar包中的內容:
#unrar l *.rar
或者
#unrar v *.rar
2.測試rar包是否能解壓成功:
#unrar t *.rar
3.解壓到當前資料夾:
#unrar e *.rar
4.解壓到指定資料夾:
#unrar x *.rar /tmp
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-627342/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAR壓縮包審計工具unrar-nofree
- Linux下壓縮,解壓縮RAR包(轉)Linux
- mac上安裝unrar和rar解壓縮工具Mac
- linux下解壓rar檔案Linux
- Linux 系統下解壓 rar 檔案Linux
- linux 解壓rar,zipLinux
- linux 之rar解壓Linux
- linux 下面壓縮、解壓.rar檔案Linux
- linux下解壓縮jar包LinuxJAR
- rar壓縮解壓工具:RAR Extractor - ZIP Unarchiver中文啟用版Hive
- Keka for Mac RAR解壓工具Mac
- 【原創】centos7 64位 安裝rar和unrarCentOS
- ubuntu下如何解壓rar檔案Ubuntu
- Mac解壓軟體:RAR Extractor for macMac
- 解壓縮軟體RAR Extractor MacMac
- RAR Extractor Mac - 解壓縮軟體Mac
- Linux 批量解壓gz包Linux
- Mac解壓縮神器:RAR Extractor Max - UnzipMac
- rar是什麼格式 電腦上rar檔案怎麼解壓
- linux下壓縮解壓縮命令Linux
- linux下壓縮、解壓命令大全Linux
- linux下rar的安裝Linux
- The Unarchiver - Unzip RAR ZIP Mac - mac解壓縮工具HiveMac
- RAR Extractor - The Unarchiver Pro for mac(解壓縮軟體)HiveMac
- RAR Extractor - The Unarchiver Pro for mac解壓縮軟體HiveMac
- Linux下如何安裝、壓縮、解壓軟體包?常用命令彙總!Linux
- linux下 tar解壓 gz解壓 bz2等各種解壓檔案使用方法Linux
- Linux下.tar .gz .tgz .bz2 .bz等解、壓包命令詳解Linux
- Linux中Bin檔案壓縮包解壓執行Linux
- win10系統rar拖拽解壓報錯怎麼辦_win10檔案rar拖拽解壓出錯解決方法Win10
- linux下解壓命令大全Linux
- linux下 tar解壓 gz解壓 bz2等各種解壓檔案使用方法 2Linux
- Linux下的tar壓縮解壓縮命令詳解Linux
- Linux下檔案的壓縮與解壓Linux
- linux 下壓縮與解壓資料夾Linux
- Linux下常用壓縮格式的壓縮與解壓方法Linux
- Linux下zip壓縮和unzip解壓縮命令全解Linux
- Linux命令:XZ解壓tar.xz字尾的壓縮包Linux