« Whitelist host on qmail installRemove passphrase from SSL key »

Unzipping archives with large files

07/25/07

Permalink 03:26:54 pm, by admin Email , 123 words   English (US)
Categories: Misc

Unzipping archives with large files

The standard unzip utility in RHFC6 was not able to handle the 2+GB zip files that I needed to uncompress.

Tried the solution shown here:

http://www.osde.info/HowToUnzipLargeFiles

which involves changing:

CF="-O3 -Wall -I. -DASM_CRC $(LOC)"\

To:

CF="-O3 -Wall -I. -DASM_CRC -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(LOC)"\

In the unix/Makefile

This helps as it lets unzip open the >2GB archive. But some of the files in the archive were larger then 4GB and gave and error like this:

need PK compat. v4.5 (can do v2.1)

Found a page here:

http://www.penlug.org/twiki/bin/view/Main/GigaUnzipping

with the solution which is to use p7zip from:

need PK compat. v4.5 (can do v2.1)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Reliable Penguin offers Linux Server Migrations, Systems Administration & Programming. Visit our main website at:

http://www.reliablepenguin.com

Search

Bookmark and Share

XML Feeds

powered by b2evolution