ID EN
Pathlib

hardlink_to

Python 3.11

Make this path a hard link to the same file as target.

Syntax

PYTHON
Path.hardlink_to(target)

See Also

os.link()