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

learn more… | top users | synonyms (1)

15
votes
3answers
1k 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 ...
13
votes
4answers
14k 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 ...
11
votes
1answer
2k 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 ...
10
votes
2answers
8k views

How can I create a symbolic link in Terminal?

I know how to delete a symbolic link/soft link by using command rm in Terminal but I was wondering what command is used to create one?
9
votes
2answers
12k 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 ...
6
votes
4answers
2k 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 ...
5
votes
5answers
1k 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 ...
5
votes
1answer
4k 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
1answer
328 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 ...
4
votes
1answer
1k 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'.
4
votes
1answer
81 views

Difficulty setting the 'Open with app' to an alias

I am trying to set MacVim, installed via homebrew, to be the default HEX file editor. I started this task by creating an alias to MacVim.app located in /usr/local/Cellar/macvim/7.3-61 and placing the ...
3
votes
3answers
85 views

Can I delete this recursive link to my Home directory?

My home directory has a symlink to my home directory. I'm not sure how it got there. Is it safe to delete? ~ steve$ ls -l steve lrwxr-xr-x 1 steve staff 12 Jun 21 2012 steve -> /Users/steve ...
3
votes
2answers
112 views

How to recursively edit path of symlinks?

This is an additional question that began with this one - How to edit Symbolic Links in OS X? Now that I know how to edit the path symlinks point to, I'm trying to figure out how to do this ...
3
votes
2answers
3k 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 ...
3
votes
1answer
295 views

Command Line: create a link to folder and access files in this folder

I want to do this thing: Create a link to a folder. Put this link in home (~) directory Access files in linked folder from home directory (~/LinkToFolder/file) What is the best way to it? Main ...
3
votes
2answers
160 views

Moving large system directories to another drive and using symlink?

I have a SSD (Boot Partition) and a HDD (Data) for my Mac. I only bought a 128GB SSD thinking the boot partition wouldn't need a large drive, however I was mistaken. I find that Mail and MobileSync ...
3
votes
1answer
149 views

Tagging of symlinks

Is it possible to tag a symlink using the new OS X Mavericks tagging functionality (old labels functionality)? When I select a symlink in Finder, File => Tags... option is grayed-out. Is it possible ...
3
votes
4answers
719 views

Baldur's Gate Enhanced Edition (OS X) and Dropbox

I was trying to share the saved games of Baldur's Gate Enhanced Edition using Dropbox (on OS X). Configuration files are stored in ...
2
votes
2answers
212 views

Where does terminal look for its commands?

I've just installed pypy, and I've made a symlink from /pypy to my pypy installation. How can I turn this into a command, so that I can just type pypy myfile.py instead of having to type /pypy ...
2
votes
1answer
359 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 ...
2
votes
1answer
4k views

Deleting home folders ~symbolic links in Mac OS X

I bought an SSD, so now I have SSD + traditional HD on my Mac. On SSD OS + Applications. On HD data. I wanted to keep applications and library on the SSD and move my home folder from SSD to the ...
2
votes
1answer
898 views

Can the DocSets installed by Xcode be moved to an external disk?

While attempting to clean up my Air's SSD, the estimable DaisyDisk showed me that 4 GB is being eaten up by Xcode DocSets. I like keeping my friends close and my SDK documentation closer, so I'd be ...
2
votes
1answer
3k views

How can you avoid error -43 when copying symlinked folder in Finder with a SAMBA share?

The context From a Mac running Mountain Lion, a share "Multimedia" served by QNAP NAS is mounted as root via SAMBA in the Finder. Let's say I create a symbolic link of a directory on the NAS such ...
2
votes
1answer
2k views

How do I delete/break a symbolic link in Lion?

I've made a symbolic link from my SSD to my HDD incorrectly and want to keep the folder on my SSD. How can I delete or break the symlink? Is there a Terminal command that will delete every symbolic ...
2
votes
1answer
125 views

sym linking iTunes Media -> Music to external thumb drive

I'm out of space on my Macbook Air and thinking about ways of removing things. One idea is to put all my music (~100GB) on a big thumb drive (y, and back it up). I pretty much always have my keychain ...
2
votes
1answer
259 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 ...
2
votes
1answer
307 views

Expand symlinked directory in finder

Is there a way to make it so that in list view in Finder a symbolically linked directory can be expanded like a regular directory? I would just switch to column view, but I'm using TextMate 2's file ...
2
votes
1answer
2k views

Symlink User Folders - Can I keep original Sidebar Icons? [duplicate]

I have my user folders (Music, Movies and Pictures) stored on an external drive, so I used terminal to delete the existing user folders on the boot drive then created symlinks to these folders and ...
2
votes
2answers
278 views

How can I turn ~/Documents into a symlink?

I keep my Documents in an encrypted directory in Dropbox (~/Dropbox/encrypted), which I then mount at ~/clear when I log in. On my other Macs, I have change ~/Documents to a symlink that points at ...
2
votes
1answer
681 views

relocating documents folder of ios applications

I have a jailbroken iPhone 4s with iOS 5.1.1. One of the things that always bothers me is that apps can't share files with each other. So I thought I can circumvent that behavior by creating a ...
2
votes
2answers
899 views

How to duplicate an entire dropbox directory tree to skydrive?

I've got a directory tree set up in my Dropbox folder. For redundancy, I'd like to duplicate that entire tree in SkyDrive. I'd like everything to update and sync automatically (from Dropbox to ...
2
votes
1answer
600 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 ...
2
votes
0answers
191 views

Find symbolic links (’s names) with Spotlight (Finder)

underwhelmed by the fact that OS X’s Aliases got really big with Mountain Lion (Lion?) I basically switched to using symbolic links instead. Now I’m just learning the hard way that Spotlight (or, ...
2
votes
1answer
347 views

can I point my Pictures folder to a folder in an external hard drive?

I would like to save some space on my laptop and to do so I was thinking of moving my Pictures folder on an external hard drive. As OSX doesn't want me to mess around with the main folders in my home, ...
1
vote
2answers
148 views

symbolic link not created

All my docs are in: /Users/Joe/Documents/Mydocs I want to put them on dropbox through symbolic link so I created this empty folder: /Users/Joe/Dropbox/Mydocs Then used this command to create a ...
1
vote
5answers
4k views

Is it a good idea to create a “soft link” from iTunes Library to an external hard drive to release hard drive space?

My iMac has a 1TB internal hard drive, and 300GB is allocated for Windows 7 using BootCamp. Of the 700GB, right now the space remaining is only about 20GB, and I do hope to create a new partition and ...
1
vote
2answers
432 views

Can the Finder be tricked into assigning symlinks and aliases different icons?

It seems to me that the Finder does not (on the surface) distinguish between aliases and symbolic links. (In particular, in the Get Info window for a symlink the Finder claims the symlink is an ...
1
vote
1answer
330 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 ...
1
vote
1answer
3k views

“brew link node” creates/removes different number of symlinks when repeated

I was upgrading Node.js node through Homebrew's brew upgrade, and it didn't link correctly. $ brew update (snip-snip formulae were updated) $ brew upgrade (snip-snip other upgrades) ==> ...
1
vote
1answer
73 views

Is it possible to let Picasa use a removable device as the Application Support folder using symbolic links?

Picasa stores very large files in Application Support folder which consumes limited disk space in system disk. I wonder if I can use symbolic links in order to make Picasa use removable disk as ...
1
vote
6answers
1k views

Symlinks broken with vmhgfs on fusion

When I use VMware Fusion with an Ubuntu guest (it worked long ago, but this problem has existed over several generations of ubuntu, at least including natty, oneiric and precise) and shared folders ...
1
vote
1answer
29 views

How can I create 'gch.app' such that “open -a gch page.html” works like “open -a Google\ Chrome page.html”?

I type open -a all the time from the terminal, and more often than not the application I want is Google Chrome.app, so I end up entering things along the lines of: open -a Google\ Chrome ...
1
vote
1answer
213 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 ...
1
vote
1answer
610 views

Symlinked Movies and Downloads. Restore icons?

I've recently replaced the optical drive of my Macbook Pro with an SSD and installed Mountain Lion freshly on there. This leaves the HDD available as well and on by popular suggestion I've symlinked a ...
1
vote
1answer
96 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 ...
1
vote
2answers
131 views

app to manage symbolic links and move files automatically?

I have about a terabyte of media files on an external hard drive. At any given moment I need a subset of these files locally on the SSD for faster access. Some times the hard drive isn't even ...
1
vote
1answer
611 views

Getting Automator to work with aliases vs. symbolic links on SMB shares

I would like to get automator to mount a volume in a shared SMB server and get all subfolders symlinked within my Documents folder. I thought I could do that easily by creating Finder's so called ...
1
vote
1answer
841 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 ...
1
vote
1answer
10 views

Automator can't find Symbolic Links?

I'm trying to create an automator workflow that starts out by finding all symbolic links in a given directory. What's happening however is that even if I set it to return "all files", I end up with ...
1
vote
2answers
256 views

Alias\symbolic link icons

I installed Mavericks on an external SSD drive and now want to point my music, pictures and video to ones on my previous drive. I created a link using ln command, a link was created. I launched ...