a simple command-line utility that implements directory hardlinks on Mac OsX
to link: hlink source destination
to unlink: hlink -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
- You need xCode command line tools installed to use
make
command
brew install http ...
To create a hard link:
hlink source destination
To remove the link:
hlink -u destination