欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > linux >内容正文

linux

linux解压rar文件权限,linux下使用unrar命令解压*.rar格式文件

发布时间:2025/3/12 linux 34 豆豆
生活随笔 收集整理的这篇文章主要介绍了 linux解压rar文件权限,linux下使用unrar命令解压*.rar格式文件 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

使用帮助

[user@localhost ~]$ unrar

UNRAR 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

n@            Read additional filter masks from stdin

n@      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

x@            Read file names to exclude from stdin

x@      Exclude files listed in specified list file

y             Assume Yes on all queries

创作挑战赛新人创作奖励来咯,坚持创作打卡瓜分现金大奖

总结

以上是生活随笔为你收集整理的linux解压rar文件权限,linux下使用unrar命令解压*.rar格式文件的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。