0
votes
0answers
25 views

How can I create hardlinks to an OSX bundle? Or the symlinks inside the bundle?

I have a hierarchy of files that I need to hardlink to a temporary install location. Some of those files are frameworks. Frameworks are bundles but essentially just folders, which aren't supported by ...
5
votes
2answers
482 views

How do I delete a hard link to an executable I don't own?

I used the following command to create a hard link to an executable: ln `which xcrun` gcc The link worked as expected. However, it seems I don't have the permissions to remove it. $ rm gcc ...
0
votes
2answers
652 views

How can I create hard links in OSX?

What I want is to have multiple copies of the same file, and whenever I edit one of them, they all get updated. I thought Hard Links would solve my problem. So, I used the command ln as described in ...
3
votes
3answers
1k views

How to properly store dotfiles in a centralized git repository

I'd like to put all my dotfiles (like .profile, .gitconfig, etc.) in a central git repository, so I can more easily keep track of the changes. I did this, but I would like to know how to properly ...
6
votes
3answers
3k views

How do you create a working Hard Link in OSX?

Ok, this has me banging my head. In OS X, to create a hard link, in a terminal window, you're supposed to be able to just type this... ln a.txt b.txt ...and this should create a hard link from ...
0
votes
1answer
2k views

Equivalent for Windows 7 “mklink” on OS X?

Is there a feature on OS X that does the same as mklink under Windows 7? It can create symbolic links and hard links. I have just read about this tool to have Dropbox sync an application folder by ...
1
vote
2answers
443 views

How can I move a bunch of hardlinked files from a Linux box onto my OS X Mac and preserve the hardlinks?

I have an rsnapshot backup that I need to move off of a corrupt Linux file system. I need to preserve the internal hardlinks. I've tried rsync -H and using a newer rsync and neither preserve the ...
2
votes
1answer
602 views

Accessing files obscured by filesystem mounted at non-empty directory

I wish to mount a volume/filesystem at a non-empty directory, yet still retain access to the directory's contents. Is this possible? I know that a filesystem can be mounted at a non-empty directory ...
3
votes
1answer
1k views

Hard link not works under Mac OS X in GUI mode

I faced a little strange behavior, while using hard links. From Terminal, I create a text file 1.txt and a hard link "to this file" nano 1.txt mkdir dir ln 1.txt ./dir/ I check the resulting hard ...