Open
Description
In Copying files and directories, 1f case "directory to new directory", it is stated that the trailing slashes in both source
and target
are optional. However, if source/subdir
and target/newdir/
are being used, the resulting target structure is the following:
📁 target
└── 📁 newdir
└── 📁 subdir
├── 📄 subfile1
├── 📄 subfile2
└── 📁 nesteddir
└── 📄 nestedfile
Basically the subdir
folder itself is taken too, not only its content.
This can be reproduced e.g. out of the box with LocalFileSystem()
and the copy()
method.
Is such output expected?
Metadata
Metadata
Assignees
Labels
No labels