First directory stripped when flatten is false
LarsDenBakker opened this issue · comments
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.
@vladshcherbin would you accept a PR to fix this?
@LarsDenBakker sure, go for it