linux unrar源码,Linux下tar-rar-unrar解压/压缩缩命令大全

RAR文件下载:http://www.rarlab.com/download.htm

NRAR 5.40 freeware Copyright (c) 1993-2016 Alexander Roshal

Usage: unrar - -

e Extract files without archived paths

l[t[a],b] List archive contents [technical[all], bare]

p Print file to stdout

t Test archive files

v[t[a],b] Verbosely list archive contents [technical[all],bare]

x Extract files with full path

- Stop switches scanning

@[+] Disable [enable] file lists

ad Append archive name to destination path

ag[format] Generate archive name using the current date

ai Ignore file attributes

ap 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 Additionally filter included files

[email protected] Read additional filter masks from stdin

[email protected] Read additional filter masks from list file

o[+|-] Set the overwrite mode

ol[a] Process symbolic links as the link [absolute paths]

or Rename files automatically

ow Save or restore file owner and group

p[password] Set password

p- Do not query password

r Recurse subdirectories

sc[obj] Specify the character set

sl Process files with size less than specified

sm Process files with size more than specified

ta Process files modified after in YYYYMMDDHHMMSS format

tb Process files modified before in YYYYMMDDHHMMSS format

tn Process files newer than

to Process files older than

ts[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 Exclude specified file

[email protected] Read file names to exclude from stdin

[email protected] Exclude files listed in specified list file

y Assume Yes on all queries

使用命令:-?参数可以查看帮助信息;x参数用于解压文件;t参数用于测试是否损坏;l参数用于列出文件。

unrar e file.rar ——————》解压到当前目录unrar x file.rar (目录名)——————》解压到xx目录unrar l file.rar ——————》查看rar中的文件unrar v file.rar ——————》查看rar更详细信息unrar t file.rar ——————》检查是否可以成功压缩

注:  file.rar:是我们压缩的文件.

时间: 10-18

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值