Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there any way to create a hard link in the finder?

A hard link in terminal would be created with:

ln /path/to/file /path/to/newpath

whereas a symlink / alias can be done by holding command and option or

ln -s /path/to/file /path/to/newpath

(though apparently the behaviors of 'alias' and 'ln' are different)

share|improve this question
add comment

3 Answers 3

up vote 4 down vote accepted

You could create an Automator service like this:

enter image description here

This takes the selected files and creates hard links to them in the directory where they exist. You can then drag and drop the links to the location where you want them.

This will work for files with spaces in their names, but not for files containing quotation marks in their name.

You can access it from the Finder » Services menu, the context menu, and you can assign it a keyboard shortcut analogous to the L shortcut for aliases (perhaps L).

share|improve this answer
add comment

There's no way to do this in Finder.app itself. However, if your goal is just to avoid typing the commands into Terminal.app then you could use Automator.app to create a workflow to do the commands for you.

share|improve this answer
add comment

Yes, indirectly.

Automator let's you make services that run any shell script and also can ask you for a path to the destination for the hard link (since it won't be in the same location as the original presumably). I suppose you could default the link location somewhere like a desktop too.

Just add a step to pop up a dialog to enter or otherwise choose the destination and pass that to your ln command.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.