How to use unrar command?
2016-01-25 17:27
417 查看
1. Option list
$ unrar
UNRAR 4.00 beta 3 freeware Copyright (c) 1993-2010 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
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>
Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver
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
2. To uncompress a rar file with full path.
[command] unrar x NAME.rar DIRECTORY
[for example] unrar x Go.rar .
$ unrar
UNRAR 4.00 beta 3 freeware Copyright (c) 1993-2010 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
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>
Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver
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
2. To uncompress a rar file with full path.
[command] unrar x NAME.rar DIRECTORY
[for example] unrar x Go.rar .
相关文章推荐
- Bootstrap树形组件jqTree的简单封装
- 新系统iOS 8下推送注册-registerForRemoteNotifications
- hibernate 调用存储过程
- kafka安装
- firebug使用
- Android 4.3 menu item showAsAction=“always”无效的解决办法
- ios蓝牙的基本使用
- firebug使用
- PHP文件系统处理
- 苹果iPhone必须关闭的四个功能
- 苹果iPhone必须关闭的四个功能
- Android Style和Theme
- 一个简单的侧滑关闭Activity的示例
- MySQL某一时间点数据与一小时前、一天前、一月前数据对比
- 将数字转换成对应的中文 将阿拉伯数字翻译成中文的大写数字
- 温控的具体实现:三
- jquery:给正则表达式添加变量
- Linux学习笔记:MySQL读写分离实验【从库回收权限】
- 【SDOI2015】【BZOJ3991】寻宝游戏
- ARM64多核CPU启动流程