Skip to content

option to preserve folder structure of copied folder #60

@mysticflute

Description

@mysticflute

Currently the only way to preserve the folder structure from the sources is to specify cwd to the parent of the source and parents: true.

This is already a bit cumbersome if all you want to do is preserve the folder structure of what you are copying, but if the dest is a relative path then you must also make it absolute as well so that it isn't affected by cwd. Overall that results in more verbose and confusing code.

There should be an option that will preserve the folder structure of all copied sources into the destination without having the specify cwd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions