The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
can I limit the size of a directory? JamesByars UNIX for Dummies Questions & Answers 6 01-14-2008 02:06 PM
Limit Folder Size tisdmin UNIX for Dummies Questions & Answers 2 01-17-2007 08:00 PM
File Size Limit HaidoodFaulkauf UNIX for Advanced & Expert Users 2 07-25-2006 05:24 AM
file size limit vjm AIX 2 09-27-2005 06:46 AM
Limit size of the file _hp_ UNIX for Dummies Questions & Answers 4 07-10-2002 10:44 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-02-2008
Registered User
 

Join Date: Jul 2008
Posts: 2
Size Limit for zip files

Hi,

I am using the jar command to compress a directory. The size of the directory contents is 105 GB. The jar/zip that gets created is approximately 5.5 GB in size. But this file seems to be corrupt when verified using the unzip command.

Is there any limitation for the size of the zip file? Also, can there be any alternatives if there exists a limitation. (Splitting the zip files maybe during creation)

OS - SunOS 5.10

Regards,
Praful.
Reply With Quote
Forum Sponsor
  #2  
Old 07-03-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 734
jar is not zip, jar is tar (sort of).

In other words, if you jar a dir, you need to use tar instead of zip to open it.

But why not use jar again to do the extraction instead?
Reply With Quote
  #3  
Old 07-03-2008
Registered User
 

Join Date: Jul 2008
Posts: 2
Well the jar command hangs when I try to extract a large file. I used the verbose option to see if there is any activity going on but there wasn't any. Thats the reason i used unzip to test whether the file is valid.
Reply With Quote
  #4  
Old 07-04-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 916
I'm aware that the original ZIP file format limits the archive file to a maximum size of 4GB however I've been unable to find documentation from Sun that states the JAR file format is limited to a maximum file size of 4GB or that the JAR file format is based on the original ZIP file format and not the ZIP64 file format.
Reply With Quote
  #5  
Old 07-06-2008
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 734
If it's a filesize limit, stream it:
Code:
jar --x - < filename.jar
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0