Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardlink: file exists - Can I only hardlink to a file once? #10

Open
jeffpoulton opened this issue Jul 29, 2013 · 3 comments
Open

hardlink: file exists - Can I only hardlink to a file once? #10

jeffpoulton opened this issue Jul 29, 2013 · 3 comments

Comments

@jeffpoulton
Copy link

I successfully used hardlink to hardlink a directory. Woot! I then tried to hardlink to the same source from from a different destination directory, but I'm getting the following error:

$> hardlink: file exists

Any idea why I am getting this error? I've tried it from multiple destination directories and with the same effect.

@lrecknagel
Copy link

I have the same error message when I try to hardlink two folders:

hln /Users/Documents/hardTEST/ /Users/Library/Mobile\ Documents/com\~apple\~CloudDocs/hardTest/

Any ideas why it wont work :/

@dragonfax
Copy link
Contributor

I'm starting to wonder why hardlinks are even still supported on OSX considering how many wacky restrictions there are on them. They're nothing like unix hardlinks anymore.

@BenjaminHCCarr
Copy link

I just had this issue last week.

I realized I wasn't trying to hln the original folder, but rather the target of a prior hln src target.

This had to do with a backup server/system that wet itself on hardlinks so I moved everything into one directory for the backup target and used hln to put things "back" where they "should" be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants