Questions tagged [symlink]

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

Filter by
Sorted by
Tagged with
35
votes
4answers
7k 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 ...
344
votes
5answers
486k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
24
votes
2answers
11k 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 link/...
5
votes
4answers
11k views

Restoring finder icon

I have moved certain sections (downloads, music, pictures) of my user directory from my SSD to my HDD via symlinks. I have successfully changed over the image of the folder which can be seen in the ...
12
votes
5answers
5k views

Symlink Google Drive

I want to sync folders that are on my Mac to Google Drive, without having to drag the folders to the Google Drive folder and preserving my folder structure on my Mac. I assumed you would have to ...
1
vote
0answers
1k views

Saving /private/tmp

Something on my Mac keeps deleting the /private/tmp directory. I first noticed this was happening as I was investigating high CPU usage. The Console was full of errors like the following: 1/10/15 10:...
14
votes
5answers
14k views

Mac OS X - How to Symlink /home to /Users

For those of us who dabble in penguins and apples, it seems very worth while to be able to use /home paths either out of habbit or for those odd cases where the value may have been sync'd somewhere ...
6
votes
1answer
7k views

How do I change back from MacPorts Python to system default version?

I used MacPorts to install a newer version of Python on my system (10.5.8 PPC), and then used the MacPorts select command to change the default invoked version of Python to the MP version. Now I want ...
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 /...
3
votes
1answer
3k views

wrong icon of Unix symbolic link in Finder

I am now on OS X 10.9, and I am not sure whether this issue also occurs on other versions. So, I have many symlinks in my file system (created by ln -s). Today I modified one of them with ln -f -s (...
2
votes
1answer
1k views

Is it safe to Symlink your applications folder?

If you had a NAS and you were going to store all your applications on there, would it be safe to - on the computers accessing it - replace their application folder with a symlink to the folder on the ...
4
votes
1answer
3k views

How to edit Symbolic Links in OS X?

I had painstakingly gone through and created symlnks to a whole host of files in my system. I couldn't use aliases because they were failing to be copied with RSync, and also certain apps I use to ...
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'.
1
vote
1answer
126 views

tar cvfz command not writing on iCloud Drive folder

I am trying to link up (create a copy) of a folder in the User's Libraryinto the iCloud Drive folder, so that it will be synchronised across computers should I need to change machine. For your ...
1
vote
1answer
3k 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 ...
5
votes
4answers
5k views

OS X won't create any symbolic links, creates aliases instead

No matter how I try to create an symbolic link OS X refuses to play along and instead creates an alias. I've tried several tools and also through the terminal using the ln command. I am on a fresh ...
4
votes
2answers
6k views

Install new NANO (2.4) using BREW but still uses old versions (symbolic link not created?)

I installed NANO 2.4 but my OS X is still using 2.0. I beleive its something to do with the symbolic link that wasn't created. I first tapped the homebrew/dupes so i could brew install nano ~ brew ...