域名城

(文件)VincentLiao雜記: window 與 linux 的檔案壓縮與切割, 合併與解壓縮 ...

已有 1584 次阅读2011-12-12 22:28

(文件)VincentLiao雜記: window 與 linux 的檔案壓縮與切割, 合併與解壓縮


這個問題可以這樣的描述: 
如何在 linux 上使用 unzip 解 7z 的 多檔壓縮 large_file.zip.001 ... large_file.zip.999 ?



慢慢的來說吧...

linux 上有個指令可以分割檔案 split, 如果要壓縮的話, 也可以用 zipsplit 這個程式

但是 window 上的話, 如何使用, 來介紹一個 7z 的免費軟體, 讓您的 window 與 linux 傳大檔前先壓縮與切割小檔...


先在 window 上使用 7z 的解壓縮程式, 如果檔案過大, 可以切成 10m 100m 或一個檔案 1g , 

通常 2g 以上會有 fat16 的問題, 這個一上 usb 的系統就會死翹翹


用  7z 軟體在 window 上 壓縮一個超級大檔案, 並切割成 多個壓縮檔如下
large_file.zip.001
large_file.zip.002
large_file.zip.003
large_file.zip.004
...
large_file.zip.901
large_file.zip.902
large_file.zip.903



(dos下合併檔案的方式)
step1: copy large_file.zip.001 + large_file.zip.002 + large_file.zip.003 + large_file.zip.004 ...  + large_file.zip.902 +large_file.zip.903
step2: 定義成 large_file.zip 就可以用 zip 來解壓縮
zip -d large_file.zip 


(window 下直接可以使用 7z 的介面解壓縮)
...看圖說故事... lol ...


(Linux 下合併檔案的方式 , 與 解壓縮 )
step1: linux 用 cat 合併檔案的方式
cat large_file.zip.001 large_file.zip.002 large_file.zip.003 large_file.zip.004 ... large_file.zip.902 large_file.zip.903 > larget_file.zip
或是
cat large_file.zip.* > large_file.zip


step2: 解壓縮檔
unzip large_file.zip



呵呵...檔案要多大就可以多大, 壓縮後再切割後, 在 window 上可以合併且解壓縮, 在 linux 上也是可以的喔...



...大功告成...

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

易介集团旗下品牌 - 域名城| 国域| 中付通| 中介通| 中华知识产权网| 商标城| DoName| 域名论坛

电信与信息服务业务经营许可证 京ICP证090790号  京ICP备10003495号  电信业务审批[2010]字第598号函  京公网安备110108903585号

Archiver|手机版|小黑屋|侵权投诉|Club.domain.cn 中国域名论坛 论坛管理员邮箱:club@domain.cn

Powered by Discuz!X3.2GMT+8, 2024-4-26 23:45 © 2001-2024 Comsenz Inc.

返回顶部