欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

macOS 解压 rar 文件

程序员文章站 2024-02-08 18:14:34
...

macOS terminal 解压 rar

1,安装unrar

$ brew search unrar
$ brew install unrar
  • unrar 命令,l 预览压缩文件、x 解压文件
$ unrar l Final_Cut_Pro_10.4.6_MAS_\[TNT\].rar 

UNRAR 5.71 beta 1 freeware      Copyright (c) 1993-2019 Alexander Roshal

Archive: Final_Cut_Pro_10.4.6_MAS_[TNT].rar
Details: RAR 4

 Attributes      Size     Date    Time   Name
----------- ---------  ---------- -----  ----
    ..A.... 3247017378  2019-03-12 13:07  [iMacAPPS.net]FCP_10.4.6/Final_Cut_Pro_10.4.6_MAS_[TNT].dmg
    ..A....       187  2018-11-30 19:49  [iMacAPPS.net]FCP_10.4.6/Hide IP - Oculta tu IP.url
    ..A....        51  2017-10-16 12:40  [iMacAPPS.net]FCP_10.4.6/Mac APPS - Daily Updates.url
    ..A....        53  2018-07-17 21:37  [iMacAPPS.net]FCP_10.4.6/Porn Videos.url
    ...D...         0  2019-03-22 06:30  [iMacAPPS.net]FCP_10.4.6
----------- ---------  ---------- -----  ----
           3247017669                    5
$ unrar x  Final_Cut_Pro_10.4.6_MAS_\[TNT\].rar ./Final_Cut_Pro_10.4.6_MAS_\[TNT\]/ 

UNRAR 5.71 beta 1 freeware      Copyright (c) 1993-2019 Alexander Roshal


Extracting from Final_Cut_Pro_10.4.6_MAS_[TNT].rar

Creating    ./Final_Cut_Pro_10.4.6_MAS_[TNT]/[iMacAPPS.net]FCP_10.4.6  OK
Extracting  ./Final_Cut_Pro_10.4.6_MAS_[TNT]/[iMacAPPS.net]FCP_10.4.6/Final_Cut_Pro_10.4.6_MAS_[TNT].dmg  OK 
Extracting  ./Final_Cut_Pro_10.4.6_MAS_[TNT]/[iMacAPPS.net]FCP_10.4.6/Hide IP - Oculta tu IP.url  OK 
Extracting  ./Final_Cut_Pro_10.4.6_MAS_[TNT]/[iMacAPPS.net]FCP_10.4.6/Mac APPS - Daily Updates.url  OK 
Extracting  ./Final_Cut_Pro_10.4.6_MAS_[TNT]/[iMacAPPS.net]FCP_10.4.6/Porn Videos.url  OK 
All OK

参考:

  1. Mac Terminal菜鸟篇之使用unrar解压rar文件