Skip to content

Preserve folder structure #870

@kdheepak

Description

@kdheepak

Thanks for maintaining ouch!

If I try to run this:

$ ouch compress scripts/zipit.py kak/kak-lsp.toml  kak/kakrc output.zip
[INFO] Compressing 'zipit.py'
[INFO] Compressing 'kak-lsp.toml'
[INFO] Compressing 'kakrc'
[INFO] Successfully compressed 'output.zip'

I end up with a zip file like this:

$ ouch list --tree output.zip
Archive: $HOME/gitrepos/dotfiles/output.zip
├── zipit.py
├── kak-lsp.toml
└── kakrc

It would be nice if I actually could end up with a zip file that preserved the original folder structure.

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