hardlink

Installation
SKILL.md

hardlink.ts

bash/hardlink/hardlink.ts keeps path B linked to path A for every A <arrow> B pair listed in a markdown config file. One source of truth (A), any number of other places (B) where it has to be visible: a shared script used by few projects, a config living in the home directory, a library directory mounted in another directory.

The kind of link is always explicit, chosen by the arrow, never guessed. It is safe to run again and again: pairs already linked are skipped, and nothing is replaced when content would be lost.

The full and authoritative documentation is the help page - when this file and the help page differ, the help page wins:

node bash/hardlink/hardlink.ts --help

Make sure the script is in the project

Source: https://github.com/stopsopa/stopsopa.github.io/blob/master/bash/hardlink/hardlink.ts

Installs
1
GitHub Stars
1
First Seen
7 days ago