![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
If it's a filesize limit, stream it:
Code:
jar --x - < filename.jar |
||||
| Google The UNIX and Linux Forums |