Skip to content

Would be nice to have an option to reflink if possible and hardlink otherwise. #13758

Description

@stevecj

In cases where hardlinks are acceptable but a reflinks are preferred, it would be nice to have a way to tell cp to use that heuristic: make a reflink if possible, or a hard link otherwise.

On a related note, there is no =WHEN option for --link which could be useful.

I propose adding a new --reflink-or-link[=WHEN] option and extending --link to --link[=WHEN].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions