Skip to content

How to extract a file in a zip #67

Open

Description

@sylvaticus

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) ?

Activity

  1. onetonfoot commented on Feb 18, 2020

    @onetonfoot

    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/")
    
  2. sylvaticus commented on Feb 18, 2020

    @sylvaticus
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions