a simple command-line utility that implements directory hardlinks on Mac OsX
to link: hardlink source destination
to unlink: hardlink -u destination
I was trying to patch a third-party library and make the files available in our code directory without having to copy the files every time I patch it.
I got the idea from some stackoverflow questions.. and decided to create a lib out if it that everybody can use
git clone git:https://github.com/selkhateeb/hardlink.git
make
sudo make install
To create a hard link:
hardlink source destination
To remove the link:
hardlink -u destination