1. 程式人生 > >ubuntu 的使用 —— 解壓 rar 檔案(unrar 的安裝與使用)

ubuntu 的使用 —— 解壓 rar 檔案(unrar 的安裝與使用)

下載相關包:

sudo apt-get install -f         # 如果直接 install unrar 出錯的話
sudo apt-get install unrar

相關解壓命令:

man unrar
e      Extract files to current directory.
l      List archive content.
p      Print file to stdout.
t      Test archive files.
v      Verbosely list archive.
x      Extract files with full path.

注意引數 e 和引數 x 的區別:

  • e:將所有的檔案提取到當前目錄;
  • x:保留壓縮檔案的完整路徑資訊;