日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 运维知识 > linux >内容正文

linux

linux ubuntu如何解压rar文件?unrar

發(fā)布時(shí)間:2025/3/20 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux ubuntu如何解压rar文件?unrar 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

文章目錄

    • 安裝
    • 查看使用方法
    • 示例:解壓`HEOP-V2.3.0-211230開發(fā)指南.rar`壓縮包到當(dāng)前目錄下的`./HEOP/`
    • 示例:解壓到當(dāng)前目錄

安裝

sudo apt install unrar

查看使用方法

注:archived paths 存檔路徑

unrar [root@ubuntu /home/yg/H7 HEOP]6# unrarUNRAR 5.30 beta 2 freeware Copyright (c) 1993-2015 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 messagesierr Send all messages to stderrinul Disable 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開發(fā)指南.rar壓縮包到當(dāng)前目錄下的./HEOP/

unrar x HEOP-V2.3.0-211230開發(fā)指南.rar ./HEOP/

示例:解壓到當(dāng)前目錄

unrar e xxx.rar

參考文章:Ubuntu下unrar指令的簡(jiǎn)單使用

總結(jié)

以上是生活随笔為你收集整理的linux ubuntu如何解压rar文件?unrar的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。