Skip to content

Copying a glob to a directory creates extra directory level #1233

@ianthomas23

Description

@ianthomas23

Another discrepancy that has arisen from #1226 and related work.

cp("source/somedir/*", "target/")

creates a new directory target/somedir and places the files in that. According to command-line copy, the somedir should not be created and the files should be copied directly into target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions