Skip to content

put --parents option should only prepend path relative to local current directory #68

@hagabaka

Description

@hagabaka

If the local working directory is /a/b/c, and I run put --parents d/e/f, yafc will create a/b/c/d/e/f on the remote. I think it would be more intuitive if it creates d/e/f instead, similar to put --recursive but only including the specified file. If the user intends to create a directory hierarchy mirroring the local root, they can still lcd / before running put --parent.

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