PCDVD數位科技討論區

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)

ylong 2012-04-08 12:45 PM

用 Total commander 的話, 選好目錄做壓縮.
此時勾選 "create separate archives, one per selected file/dir"
就會壓出多個壓縮檔.

sandstorm 2012-04-12 04:19 PM

引用:
作者limaike
如果是用7 zip就沒這功能

可參考

http://www.wretch.cc/blog/lcwmax/21095469

批次壓成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是僅封存不壓縮

老柏(第四) 2012-04-12 04:22 PM

引用:
作者MADOKA
WinRAR 一次選取要壓縮的檔案

點右鍵 - 加到壓縮檔 - 檔案 - 一個檔案建立一個壓縮檔 !!

試試看,是不是你想要的功能。


引用:
作者鐵甲無敵金鐘罩
http://upload.lyfhk.net/di-TZD8.png

我都忘記回這串了

謝謝,我已經照這方法用RAR來壓了

goddesschi 2012-04-12 06:23 PM

這帖難得大家都很進入狀況 :like:

原千尋 2012-04-12 08:05 PM

太后真是佛心來的..... :D

goddesschi 2012-05-01 08:23 PM

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。