Skip to content

Add option to always extract to output_dir named after the archive even on single/one file #766

Closed
@uwidev

Description

@uwidev

I wasn't initially aware of this behavior, but when extracting an archive that only has one element, the extracted file gets placed in the root directory (where the extract occurred) rather than a created directory named after archive. This actually resulted in problems for me when having multiple archives that just so happen to have a single file with the same name. This resulted in the filenames colliding and overwriting each other.

Would you consider having a option to always create a folder even if there is only one file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions