Skip to content

gzip.uncompress() to original_file_name from gzip metadata #120

@Araxeus

Description

@Araxeus

Say I have the following scenario:

I have a test.gz archive that contains one unknown file (lets say its coolFilename.txt), and I don't know the name of the file inside

How do i extract the file inside while keeping its name?

with the current api, i have to provide an output file name, so how can I extract the file inside the gzip while keeping its original name?

its actually even worse than just a naming issue, what if i dont know the type of the file inside? how do I know what extension should the file have?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions