Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for renaming files on conflict during untar #411

@julian-baumann

Description

@julian-baumann

When extracting a tar archive, I need the files to be unique. If a file with the same name already exists in the destination, the new file should be renamed automatically.

For example:
• A file named test.txt already exists.
• The file being extracted is also named test.txt.
• The extracted file should instead be saved as test (1).txt.

Is there a way to achieve this with this library?

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