producer | streamzip [opts] | consumer producer | streamzip [opts] -zipfile=output.zip
The zip container written to "stdout" is, by necessity, written in streaming format. Most programs that read Zip files can cope with a streamed zip file, but if interoperability is important, and your workflow allows you to write the zip file directly to disk you can create a non-streamed zip file using the "zipfile" option.
Default is disabled.
Use the "Stream" option to force the creation of a streamed zip file.
Default is '-'.
If the "zipfile" option is specified, including this option will trigger the creation of a streamed zip file.
Default: Always enabled when writing to "stdout", otherwise disabled.
Valid method names are
* store Store without compression * deflate Use Deflate compression [Deflault] * bzip2 Use Bzip2 compression * lzma Use LZMA compression
Note that Lzma compress needs "IO::Compress::Lzma" to be installed.
Default is "deflate".
A good examples is when you are serving dynamic content from a Web Server straight into a socket without needing to create a temporary zip file in the filesystsm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.