2016-04-23 15 views
2

Winzip(Windows 7)のmartipart機能を使用して均等に分割された13 GBのファイルがあります。マルチパートファイルの解凍 - 不正なzipfileオフセット(ローカルヘッダsig):4

ファイルをLinuxサーバーにアップロードしましたが、マルチパートファイルを1つのファイルに結合しようとしています。しかし、私は次のエラーを実行しています。分割された後

ファイル、私はテストファイルのために同じことをテストしている

Archive: file.zip 
warning [file.zip]: zipfile claims to be last disk of a multi-part archive; 
attempting to process anyway, assuming all parts have been concatenated 
together in order. Expect "errors" and warnings...true multi-part support 
doesn't exist yet (coming soon). 
file #1: bad zipfile offset (local header sig): 4 

サーバーで

total 9646432 
    -rw-r--r-- 1 root root 730000000 Apr 14 20:57 file.z01 
    -rw-r--r-- 1 root root 730000000 Apr 14 20:07 file.z02 
    -rw-r--r-- 1 root root 730000000 Apr 14 20:01 file.z03 
    -rw-r--r-- 1 root root 730000000 Apr 14 16:30 file.z04 
    -rw-r--r-- 1 root root 730000000 Apr 14 16:24 file.z05 
    -rw-r--r-- 1 root root 730000000 Apr 14 16:14 file.z06 
    -rw-r--r-- 1 root root 730000000 Apr 14 16:08 file.z07 
    -rw-r--r-- 1 root root 730000000 Apr 14 15:51 file.z08 
    -rw-r--r-- 1 root root 730000000 Apr 14 15:46 file.z09 
    -rw-r--r-- 1 root root 730000000 Apr 14 15:32 file.z10 
    -rw-r--r-- 1 root root 730000000 Apr 14 15:27 file.z11 
    -rw-r--r-- 1 root root 730000000 Apr 14 15:20 file.z12 
    -rw-r--r-- 1 root root 730000000 Apr 14 14:28 file.z13 
    -rw-r--r-- 1 root root 349166077 Apr 14 21:00 file.zip 

コマンド、

#zip file.zip 

私はエラーに実行しています、 27MB、

#ls 
test.z01 test.z02 test.z03 test.z04 test.z05 test.zip 


[[email protected] .tbabu]$ unzip test.zip 
Archive: test.zip 
warning [test.zip]: zipfile claims to be last disk of a multi-part archive; 
attempting to process anyway, assuming all parts have been concatenated 
together in order. Expect "errors" and warnings...true multi-part support 
doesn't exist yet (coming soon). 
file #1: bad zipfile offset (local header sig): 4 
file #2: bad zipfile offset (local header sig): 207105 
file #3: bad zipfile offset (local header sig): 209345 
.. 
.. 
file #302: bad zipfile offset (lseek): 2924544 
file #303: bad zipfile offset (lseek): 2940928 
.. 
.. 
.. 
inflating: en_US/1/2.zip 
.. 
.. 
.. 

私は上記のメッセージを受け取っても、テストイベントでファイルを結合することができます。

なぜ13Gbファイルで作業していないのですか?

援助をいただければ幸いです。

答えて

2

あなたはcatベースのソリューションが私のために動作しませんでした

cat test.z* > hugetest.zip 
unzip hugetest.zip 
+0

ありがとうございました解決策.. :) – mightyteja

4

試みるが、zip -F file.zip --out file-large.zipを使用してファイルをマージして、unzip file-large.zipは仕事をしたことができました。

関連する問題