Open
Description
Related problem
I'd like to create a recursive copy of a directory using hardlinks.
The traditional unix cp
command implements this. From man cp
:
-l Create hard links to regular files in a hierarchy instead of copying.
This can be combined with the -R
flag to recursively copy contents of a directory as hardlinks:
cp -lR source dest
Describe the solution you'd like
nushell's cp
to implement such hardlink copying capabilities, or nushell to expose some alternative to cp -lR
.
Describe alternatives you've considered
Use external function ^cp
.
Additional context and details
No response