安装unrar
sudo apt-get install unrarunrar e ***.rar
root@ubuntu:~/box/t# unrar e QZZN论坛资料_公共常识.rar UNRAR 4.00 beta 3 freeware Copyright (c) 1993-2010 Alexander Roshal Extracting from QZZN论坛资料_公共常识.rar Extracting 公共基础知识汇编最全面版(包括政治、经济、法律、管理、人文、科技部分的常识练习题和答案).doc OK Extracting 易错公务员常识.doc OK Extracting 法律常识.doc OK Extracting 资料分析.doc OK Extracting 逻辑推理.doc OK Extracting 行政能力倾向测试公共基础常识练习题(1).pdf OK Extracting 行政能力倾向测试公共基础常识练习题(2).pdf OK All OK
参数列表:
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
ai Ignore file attributes
ap<path> Set path inside archive
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<file> Include only specified file
n@ Read file names to include from stdin
n@<list> 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<size> Process files with 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>[N] Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files listed in specified list file
y Assume Yes on all queries
本文介绍如何在Ubuntu系统中使用unrar命令解压缩名为QZZN论坛资料_公共常识.rar的RAR文件,并提供了详细的参数列表及常用命令说明。

294

被折叠的 条评论
为什么被折叠?



