Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for working for nested Zip #146

Open
yairlenga opened this issue May 6, 2023 · 0 comments
Open

Add support for working for nested Zip #146

yairlenga opened this issue May 6, 2023 · 0 comments

Comments

@yairlenga
Copy link

Hi,

The Zip utility has two useful features: archiving (packing multiple files into a single ZIP File), and compression (making files smaller). I'm using the archiving option to pack multiple Zip files into a single "master" zip. In my example, the individual zips represent monthly snapshot of the data. Hoping that it will be possible to extend the zzlib (and the supporting utilities) to support direct extraction from nested zips (which are NOT compressed - just STORED). Functionality available with libzip (using the zip_source object, see https://libzip.org/documentation/zip_source.html).

Ideally, the function to open a zip file will accept location of nested (e.g.: "/path/to/file.zip!nested/path/real.zip"). Given zzlib ability to virtualize IO, seems like simple task - hope that someone already have a way to do it.

If the '!' notation (borrowed from Java "jar" URL style), does not fit, explicit function will also work, but then command line syntax is less elegant, and does not extend to "double-nesting".

Looking for feedback - if this idea is reasonable - and assuming that there is valid implementation - will be accepted into the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant