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

How to extract a file in a zip #67

Open
sylvaticus opened this issue Feb 13, 2020 · 2 comments
Open

How to extract a file in a zip #67

sylvaticus opened this issue Feb 13, 2020 · 2 comments

Comments

@sylvaticus
Copy link

I understood how to write files to the zip or read files in a zip, but how can I extract a file in a zip archive to disk (or, equivalently, extract the whole zip without using OS specific tools) ?

@onetonfoot
Copy link

I was also struggling to figure this out, I found a solution with the InfoZIP.jl package, which offers a unzip function

InfoZIP.unzip("foo.zip", "/tmp/")

@sylvaticus
Copy link
Author

Ah, thank you.. I didn't search well enough, I ended up writing my own utility function based on ZipFile: https://discourse.julialang.org/t/how-to-extract-a-file-in-a-zip-archive-without-using-os-specific-tools/34585/5

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

2 participants