哇咧,忘記在那裡引用的了
用法: 1. RAR – <@listfiles…>
RAR <命令> -<開關><壓縮檔檔名> <@檔案文字列表><檔案…>
2. RAR (直接鍵入 RAR 後按 ENTER 鍵,使用全螢幕視窗操作!
Commands(命令):
a Add files to archive 壓縮(加入)檔案到壓縮檔內
u Update files in archive 更新並加入原本沒有的檔案到壓縮檔內
f Freshen files in archive 更新已有的的檔案到壓縮檔內
m[f] Move to archive [files only] 搬移檔案到壓縮檔內
x Extract files with full path 解壓縮檔案使用完整的目錄名稱來解壓縮
e Extract files to current directory 解壓縮檔案到現在所在路徑
d Delete files from archive 刪除壓縮檔內某檔案
v Verbosely list contents of archive 顯示壓縮檔內檔案資訊(詳細)
r Repair archive 修復壓縮檔
l List contents of archive 顯示壓縮檔內檔案資訊(簡要)
p Print file to stdout 將壓縮檔內檔案顯示在螢幕上
s Convert archive to SFX 將已壓縮好的檔案轉換成自解執行檔
t Test archive files 測試壓縮檔的完整性
c Add archive comment 註解壓縮檔
en Enter to archive 以全螢幕觀看該壓縮檔內容
cf Add files comment 加入壓縮檔內單一檔案註解
k Lock archive 將壓縮檔"鎖住"不讓他人更動
cw Write archive comment to file 將壓縮檔的註解轉成一般文字檔案Switches(開關):
-r Recurse subdirectories 包含子目錄
-cfg- Disable read configuration 不讀取設定檔執行
-o+ Overwrite existing files 覆蓋已經存在的檔案
-y Assume Yes on all queries 當問到 Yes/No 時一律以 Yes 回答
-bw Black & white mode 使用單色(黑白)模式執行
-o- Don't overwrite existing files 不要覆蓋已經存在的檔案
-s Create solid archive 採用緊密填實模式
-col Color mode 使用彩色(VGA)模式執行
-std Stdout mode 以文字模式執行(不使用全螢幕)
-sfx Create SFX archives 產生自解檔
-f Freshen files 更新已有的的檔案到壓縮檔內
-b Enable backup archives 使用備份檔案模式
-c- Disable comments show 不顯示壓縮檔註解
-u Update files 更新並加入原本沒有的檔案到壓縮檔內
-ep Exclude paths from names 執行(含路徑)檔案
-ed Don't add empty directories 不要加入空的子目錄
-ep1 Exclude base dir from names 執行根目錄(固定路徑)檔案
-x Exclude specified file 不包含特定檔案<檔名>
-x@ Exclude files in specified list file 不包含特定檔案@<檔名文字列表>
-v Create volumes with size autodetection 使用自動偵測剩餘空間壓縮模式
-v Create volumes: Size=*1000 使用指定壓縮大小模式(大小為 Byte *1000,非 1K)
-p Set password 設定密碼
-w Assign work directory 指定工作路徑(如虛擬磁碟機所在)
-m<0..5> Set compression level (0-store…3-default…5-maximal)
壓縮效率選擇(0-不壓縮..3-一般壓縮..5-最大壓縮BEST)
-e Set file exclude attributes 選擇不要的檔案屬性
-av Put authenticity verification (registered versions only)
使用自動偵測完整封包功能(僅註冊版始能使用)
。解壓小技巧
先 mkdir一個目的目錄,比如 dst
rar x src.rar dst/
就會把 src.rar的內容解到 dst目錄裡
留言