Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First directory stripped when flatten is false #37

Open
LarsDenBakker opened this issue Jan 24, 2020 · 2 comments
Open

First directory stripped when flatten is false #37

LarsDenBakker opened this issue Jan 24, 2020 · 2 comments

Comments

@LarsDenBakker
Copy link

Followup from #36

The new flatten option when set to false doesn't work as expected. The first directory is stripped so the new directory structure doesn't represent the original directory structure.

A workaround is to add the directory name manually in the destination, but that doesn't work if the parent directory is a glob as well.

@LarsDenBakker LarsDenBakker changed the title First directory stripped flatten is false First directory stripped when flatten is false Jan 24, 2020
@LarsDenBakker
Copy link
Author

@vladshcherbin would you accept a PR to fix this?

@vladshcherbin
Copy link
Owner

@LarsDenBakker sure, go for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants