Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.01 KB

README.markdown

File metadata and controls

29 lines (21 loc) · 1.01 KB

hardlink

a simple command-line utility that implements directory hardlinks on Mac OsX

to link: hardlink source destination
to unlink: hardlink -u destination

Motivation

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

Requirements

  • You need xCode command line tools installed to use make command

Installation

  • git clone git://github.com/selkhateeb/hardlink.git
  • make
  • sudo make install

Note: in case you get error directory /usr/local/bin does not exist, just copy hardlink app into /usr/bin instead

Usage

To create a hard link:

  • hardlink source destination

To remove the link:

  • hardlink -u destination