> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Kirk Wolf
> Sent: Friday, July 17, 2009 2:03 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: INFOZIP >2Gb
> 
> I agree.  bzip2 or gzip seem like much better choices than zip.
> AFAIK, zip files have a "directory" at the end of the archive with a
> pointer to the "end" at the very beginning.   This might explain why
> unzip is failing with pipes or special files.

The jar command, which process what really is a .zip file, specifically says 
that it can do an eXtract from stdin. It can also output to stdout. Example 
(from Linux)

===
[john.mck...@it-mckownjohn2 ~]$ jar c base.init.plsql.bkup >x.zip
[john.mck...@it-mckownjohn2 ~]$ cat x.zip | jar t
META-INF/
META-INF/MANIFEST.MF
base.init.plsql.bkup
===

I don't know if this means that the jar command, in this instance, buffers the 
entire file in memory or not.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to