unzipでは解凍できない場合もある [Linux]
4GB以上のzipファイルを解凍するとき、unzipではエラーがでるようだ。
以下は、手持ちの20GBのファイルをunzipで解凍した時のエラー文である。
$ unzip hoge.zip Archive: hoge.zip warning : 16424767498 extra bytes at beginning or within zipfile (attempting to process anyway) error : start of central directory not found; zipfile corrupt. (please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly)
解決方法として、7zを使う方法がある
$ sudo apt-get install p7zip-full p7zip-rar$ 7z x hogehoge.zip長らくLinuxを使ってきたが、このようなエラーがでることは知らなかった。