symbolic link, a type of file that is a reference to another file or folder

learn more… | top users | synonyms (1)

5
votes
1answer
343 views

Symlinked services in ~/Library/Services not working in Lion

Does anyone know how to make symlinked services work in Lion? I used to keep all my services under version control in SL and symlinked into ~/Library/Services and this stopped working when I installed ...
1
vote
1answer
1k views

“readlink” gets the original path of a symlink; what's the equivalent for Mac aliases?

In the terminal, I can use readlink on a symlink and it prints the target path of the symlink. E.g. ln -s original.txt symlink.txt readlink symlink.txt # prints original.txt How do I do this for ...
15
votes
2answers
31k views

How do I create a symbolic link to a directory with a space in it?

I was trying to create a symbolic link using the following command: ln -s "~/Foo Bar/" Foo ... but it didn't work (i.e. when I go into finder and try double clicking it, it says that it's pointing ...
4
votes
1answer
2k views

How to make an alias (Cmd-L) using command line?

With Finder, Cmd-L is a short-cut to make an alias of a file/directory. How can I use the command line to do that? I tried 'ln -s', but it generates the 'Symbolic Link', not 'Alias'.
5
votes
5answers
2k views

Why can't I use .app bundles symlinked into /Applications as default in the 'open with' dialog?

I have installed emacs with homebrew, with the --cocoa flag, which makes homebrew create an .app bundle in /usr/local/Cellar/emacs/<version>/Emacs.app. I have symlinked the .app bundle into ...
2
votes
1answer
602 views

Space in Volume Name; can you remove?

I have two drives in my machine: An SSD with the OS on it a HDD with all my data. I have a symlink on the SSD for my home directory on the HDD so /Volumes/SSD/Users/Ross/ points to ...
21
votes
4answers
28k views

How to get the fully resolved path of a symbolic link in Terminal?

I have a tangled mess of python installations on my laptop. I was looking at the executables in /usr/local/bin and they are all symbolic links to ../../../Library...... There's some weird behavior ...
2
votes
1answer
274 views

How to prevent TextMate from overwriting symbolic links?

In a web project I have multiple environments and a .htaccess.<env> file for each of them. In each of the environments I've made a symbolic link from .htaccess to the right file. Now, whenever ...
12
votes
1answer
5k views

What's the difference between alias and link?

I see that the size of alias is 167.7kB, whereas symbolic link is just 4kB. What's the difference between the two, or what's the purpose of them? Which one is preferable? For the case that the ...
19
votes
3answers
3k views

Why is /tmp a symlink to /private/tmp?

Why is /tmp a symlink to /private/tmp on Mac OS X? In other words, why isn't /tmp just a regular directory, like on Linux or BSD? I understand how it works and I don't mind it, I'm just interested in ...