200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > linux ubuntu如何解压rar文件?unrar

linux ubuntu如何解压rar文件?unrar

时间:2020-05-02 04:46:06

相关推荐

linux ubuntu如何解压rar文件?unrar

文章目录

安装查看使用方法示例:解压`HEOP-V2.3.0-211230开发指南.rar`压缩包到当前目录下的`./HEOP/`示例:解压到当前目录

安装

sudo apt install unrar

查看使用方法

注:archived paths 存档路径

unrar

[root@ubuntu /home/yg/H7 HEOP]6# unrarUNRAR 5.30 beta 2 freewareCopyright (c) 1993- Alexander RoshalUsage:unrar <command> -<switch 1> -<switch N> <archive> <files...><@listfiles...> <path_to_extract\><Commands>e Extract files without archived paths(不用存档路径)l[t[a],b]List archive contents [technical[all], bare]p Print file to stdoutt Test archive filesv[t[a],b]Verbosely list archive contents [technical[all],bare]x Extract files with full path(解压指定路径下的文件)<Switches>- Stop switches scanning@[+]Disable [enable] file listsad Append archive name to destination pathag[format] Generate archive name using the current dateai Ignore file attributesap<path>Set path inside archivec- Disable comments showcfg-Disable read configurationcl Convert names to lower casecu Convert names to upper casedh Open shared filesep Exclude paths from namesep3 Expand paths to full including the drive letterf Freshen filesid[c,d,p,q] Disable messagesierrSend all messages to stderrinulDisable all messageskb Keep broken extracted filesn<file> Additionally filter included filesn@ Read additional filter masks from stdinn@<list>Read additional filter masks from list fileo[+|-] Set the overwrite modeol[a] Process symbolic links as the link [absolute paths]or Rename files automaticallyow Save or restore file owner and groupp[password] Set passwordp- Do not query passwordr Recurse subdirectoriessc<chr>[obj] Specify the character setsl<size>Process files with size less than specifiedsm<size>Process files with size more than specifiedta<date>Process files modified after <date> in YYYYMMDDHHMMSS formattb<date>Process files modified before <date> in YYYYMMDDHHMMSS formattn<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 filesv List all volumesver[n] File version controlvp Pause before each volumex<file> Exclude specified filex@ Read file names to exclude from stdinx@<list>Exclude files listed in specified list filey Assume Yes on all queries[root@ubuntu /home/yg/H7 HEOP]7#

示例:解压HEOP-V2.3.0-211230开发指南.rar压缩包到当前目录下的./HEOP/

unrar x HEOP-V2.3.0-211230开发指南.rar ./HEOP/

示例:解压到当前目录

unrar e xxx.rar

参考文章:Ubuntu下unrar指令的简单使用

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。