Skip to content

Handle better multiple paths with the same basename #978

@Mazwak

Description

@Mazwak

Hi

If I try to compress:

C:\scripts
E:\Backup\Scripts
E:\Local\Scripts

ouch strips path, and I end up with only "Scripts" in the archive.

In Zip, it is catastrophic, everything is inside a single folder.
In Tar, each folder is shown, but if I decompress, everything is in the same folder.

Not sure how it can be handled.

Maybe a --full-path parameter.

Could be useful (example) for:
/etc
/opt/solr/config
/usr/local/etc
/var/lib/xxx/config
/srv/solr

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