Skip to content

Handle better multiple paths with the same basename #978

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

Activity

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

    bugSomething isn't workinghelp wantedWe would appreciate being helped to solve this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions