![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 七嘴八舌異言堂
(https://www.pcdvd.com.tw/forumdisplay.php?f=12)
- - 想問一下有沒有可以一次產生一堆壓縮檔的壓縮軟體
(https://www.pcdvd.com.tw/showthread.php?t=964581)
|
|---|
用 Total commander 的話, 選好目錄做壓縮.
此時勾選 "create separate archives, one per selected file/dir" 就會壓出多個壓縮檔. |
引用:
批次壓成7z (極致壓縮)的bat寫法 __________________________________ @echo off set "a=%ProgramFiles%\7-zip\7z.exe" for %%a in (%*) do if exist "%%~a\" ( "%a%" a -t7z "%%~a.7z" "%%~a\*" -mx9 ) else ( "%a%" a -t7z "%%~a.7z" "%%~a" -mx9 ) __________________________________ 參考自這篇 -mx9是極致壓縮 -mx0是僅封存不壓縮 |
引用:
引用:
我都忘記回這串了 謝謝,我已經照這方法用RAR來壓了 |
這帖難得大家都很進入狀況 :like:
|
太后真是佛心來的..... :D
|
7zip@windows
壓檔案: for %%x in (*) do "c:\Program Files\7-Zip\7z.exe" a -mhe=on -mx0 -v209715200b -ppassword "temp\%%x." "%%x" 壓資料夾: for /D %%x in (*.*) do "c:\Program Files\7-Zip\7z.exe" a -mhe=on -mx0 -v209715200b -ppassword "temp\%%x." "%%x" 7zip@linux 壓檔案: find -maxdepth 1 -type f | xargs -I$ 7z a -mhe=on -mx0 -v209715200b -ppassword temp/$. "$" 壓資料夾: find -maxdepth 1 -type d | xargs -I$ 7z a -mhe=on -mx0 -v209715200b -ppassword temp/$. "$" 大小路徑和密碼自己修正成想要的 |
| 所有的時間均為GMT +8。 現在的時間是04:53 AM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2026。