瀏覽單個文章
goddesschi
*停權中*
 

加入日期: Mar 2007
文章: 186
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/$. "$"

大小路徑和密碼自己修正成想要的
舊 2012-05-01, 08:23 PM #16
回應時引用此文章
goddesschi離線中