The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 05:06 PM
Limit Folder Size tisdmin UNIX for Dummies Questions & Answers 2 01-17-2007 11:00 PM
File Size Limit HaidoodFaulkauf UNIX for Advanced & Expert Users 2 07-25-2006 09:24 AM
file size limit vjm AIX 2 09-27-2005 10:46 AM
Limit size of the file _hp_ UNIX for Dummies Questions & Answers 4 07-10-2002 02:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-03-2008
prafulasher prafulasher is offline
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.
  #2 (permalink)  
Old 07-03-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
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?
  #3 (permalink)  
Old 07-04-2008
prafulasher prafulasher is offline
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.
  #4 (permalink)  
Old 07-04-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,088
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.
  #5 (permalink)  
Old 07-06-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
If it's a filesize limit, stream it:
Code:
jar --x - < filename.jar
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0