ZIPX library? | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

ZIPX library?

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-14-2013
Indalecio Indalecio is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 16 April 2014, 8:53 AM EDT
Location: Sweden
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Linux ZIPX library?

Hello,
Our system on a Redhat platform is generating ZIP archives that we then send to another system on a Windows machine. I have no issue generating a ZIP file containing up to 2GB worth of data and 350k files, I can unzip all contents on the machine with no issue, however the remote system on Windows is using WinZip 17 to extract the files and it has a limitation of maximum 65k files in the ZIP.

I am therefore exploring the possibility to send them a zipx archive instead, as they are convinced they would be able to handle this volume of files in this format, however I can't find anything on the internet showing zipx support for Redhat? I know zipx is quite a new format, but Im surprised I can't find any library on the internet that I could test on my machine. Any advice?

Thanks & Regards
Yann
Sponsored Links
    #2  
Old 02-14-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 19 April 2014, 8:15 AM EDT
Location: NM
Posts: 10,058
Thanks: 250
Thanked 756 Times in 711 Posts
7zip on windows - free. Create a tar archive on RH. Zip the one archive.
Send it to windows. Unzip and then untar using 7zip.

The unsigned short limit of 65K is an old zip issue. This is why people tar up large numbers of files, then zip just one tar archive.
Sponsored Links
    #3  
Old 02-14-2013
Indalecio Indalecio is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 16 April 2014, 8:53 AM EDT
Location: Sweden
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by jim mcnamara View Post
7zip on windows - free. Create a tar archive on RH. Zip the one archive.
Send it to windows. Unzip and then untar using 7zip.

The unsigned short limit of 65K is an old zip issue. This is why people tar up large numbers of files, then zip just one tar archive.
Thanks for replying. So something like TAR everything and ZIP the single file. Alright, that's one thing I haven't tested yet. I assume this 7zip tool can be imvoked as part of an automated process.

Ive already tried to gzip every indivual file, tar everything and send the single file. Ive tried TGZ as well, but both "solutions" are time consuming.

Otherwise I came up with the alternative to split the files into 50k "blocks" (thus flying under the limitation) and send multiple ZIP archives (between 1 and 6 basically in our case) but I actually think the solution is bad.

EDIT: Is it a fair assumption to say that most businesses would opt for a solution involving TAR?

Last edited by Indalecio; 02-14-2013 at 08:51 AM..
    #4  
Old 02-14-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 17 April 2014, 6:29 PM EDT
Location: Saskatchewan
Posts: 18,531
Thanks: 681
Thanked 3,036 Times in 2,856 Posts
It depends on what software the businesses have available. I know I've had problems with GNU tar and large files on Windows systems.

7zip sounds like a good option to me, know for a fact it works well in UNIX and windows.
Sponsored Links
    #5  
Old 02-15-2013
Indalecio Indalecio is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 16 April 2014, 8:53 AM EDT
Location: Sweden
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by Corona688 View Post
It depends on what software the businesses have available. I know I've had problems with GNU tar and large files on Windows systems.

7zip sounds like a good option to me, know for a fact it works well in UNIX and windows.
Weve also had problems with 3.5-4GB tar files on Windows 32-bit systems so that's definately something we need to simulate before going for it. One of the main problems is that it takes so much time for the Windows system to process the ZIP/TAR file that you don't know whether that's the standard time to deal with files of that size or if the application is actually hanging or unstable (in terms of abnormal cpu usage).

And then our customer is trying to push us for WinZip despite the technical limitations because of their mindset towards open source and freeware software. So Im kind of caught between the technical constraints and applications doing the job only partially (screaming for bad designs or workarounds).

Anyway, Ill give this a go. Thanks.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add shared members from library to same library in a different directory kneemoe AIX 5 08-25-2012 08:21 AM
/System/Library vs. /Library regarding Python Shell version Alexander4444 UNIX for Dummies Questions & Answers 1 02-27-2012 10:58 AM
./configure problem for libsf library due to apparently missing libdb library. vectrum Linux 4 08-05-2011 09:55 AM
Help on extracting file with zipx extension mohan_xunil Shell Programming and Scripting 3 11-10-2009 07:55 PM
How to change a Makefile from building static library to shared library? cpthk Shell Programming and Scripting 1 08-26-2009 02:23 AM



All times are GMT -4. The time now is 06:08 PM.