This function creates hard links from the specified paths to the target
paths, similar to Python's pathlib.Path.link_to()
method.
Usage
Path_hardlink_to(paths, targets)
Arguments
- paths
A character vector of source file paths.
- targets
A character vector of target file paths.
Examples
if (FALSE) {
Path_hardlink_to("file.txt", "hardlink.txt")
}