linux ubuntu如何解压rar文件?unrar
生活随笔
收集整理的這篇文章主要介紹了
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 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開發指南.rar壓縮包到當前目錄下的./HEOP/
unrar x HEOP-V2.3.0-211230開發指南.rar ./HEOP/示例:解壓到當前目錄
unrar e xxx.rar參考文章:Ubuntu下unrar指令的簡單使用
總結
以上是生活随笔為你收集整理的linux ubuntu如何解压rar文件?unrar的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: VS远程调试(Visual Studio
- 下一篇: ubuntu如何禁用更新?