Today, in the Linux server to extract a zip compression package, the following error message:
[Email protected] zip_bcsa_courses]#Unzipbcsa_medias_bak_20161118.ZipError:zipfileToo big (greater than4294959102bytes) archive:bcsa_medias_bak_20161118.Zipwarning [bcsa_medias_bak_20161118.Zip]:31450041244Extra bytes at beginning or within ZipFile (attempting to process anyway) error [bcsa_medias_bak_20161118.Zip]: Start of Central directory is not found; ZipFile corrupt. (Please check the transferred or created the ZipFileinchThe appropriate BINARY mode and that you have compiled UnZip properly) [Email protected] zip_bcsa_courses]#
After Baidu only know, the original unzip can not extract more than 4GB zip file (did not think so weak ...) ), need to put Niaoqianghuanpao (P7zip).
Yum-y Install P7zip
[Email protected] zip_bcsa_courses]#Yum-YInstallp7ziploaded Plugins:katello, product-ID, Security, subscription-managerupdating Certificate-based repositories. Unable to read consumer identitysetting up Install processresolving Dependencies-Running Transaction Check---> Package p7zip.x86_640:9.20.1-2. El5 set to be updated-finished Dependency resolutiondependencies resolved======================================================================================Package Arch Version Repository Size======================================================================================Installing:p7zip x86_649.20.1-2. El5 Epel745ktransaction Summary======================================================================================Install1Package (s) Upgrade0Package (s) Total Download size:745kdownloading Packages:p7zip-9.20.1-2. el5.x86_64.rpm |745Kbxx:xxRunning rpm_check_debugrunning Transaction testfinished Transaction testtransaction Test succeededrunning Transac tion Installing:p7zip 1/1installed products updated. Installed:p7zip.x86_640:9.20.1-2. El5 Complete![email protected] zip_bcsa_courses]#
After installation, use "7za x bcsa_course.zip" to extract more than 4GB zip compressed files.
Unzip more than 4GB zip file in Linux environment