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

learn more… | top users | synonyms (1)

3
votes
3answers
123 views
+50

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 ...
0
votes
0answers
6 views

How to fix shortcuts which are converted to files with Relative path?

I have a Xcode project's code base in which all the Shortcuts (Alias) are converted to Plain files with the relative path of the actual file. For Instance, the original file structure was: But now ...
122
votes
4answers
179k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
-1
votes
1answer
31 views

Why OSX symlink cannot Relative PATHs?

System in OS X 10.11.4 El Capitan $ cd $HOME $ ls . > Dropbox > BTsync Code which creates unsuccessful symlink ln -s BTsync/ Dropbox/ Code which creates working symlink ln -s ...
0
votes
0answers
10 views

Why Copying-Using Symlink to Another Folder Crashes Finder Often?

I noticed that you cannot dynamically copy symlink from one folder to another. I did it, and had to force stop Finder because no response in the window. Why Copying and then using Symlink crashes ...
4
votes
3answers
3k 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 ...
3
votes
4answers
9k 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 ...
0
votes
0answers
13 views

Symlinking ~/Documents to ~/Google Drive

I could not understand whether other questions had been answered, or if the answers were valid for my version of OS X (Mavericks), so I'm asking for the definite truth about the following: Can I ...
1
vote
1answer
292 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
0
votes
0answers
17 views

Rendering thumbnails through a symlink

I've symlinked a PNG image through the command ln -s /path/to/some.png /destination/of/some.png which does work: I can read and write to the PNG. However, I'm interested in having the preview of ...
2
votes
2answers
50 views

Create a symbolic link do navigate with cd

Is it possible to create a symbolic link to easier change directories? like ln -s /Users/mles/Documents /usr/local/bin/d so I can cd d instead of cd ~/Documents?
2
votes
2answers
131 views

Unable to symlink /Users in OS X El Capitan

I#m running OS X El Capitan and want to symlink /Users to /home sudo ln -sf /Users /home fails with ln: home/Users: Operation not supported Why does this fail? Could this be related to other ...
0
votes
0answers
261 views

Homebrew, keg-only formulas: how to add LDFLAGS and CPPFLAGS to build variables/how to symlink

Well, there are few days I'm trying to find the answer to this question. I'm not a super expert with informatics so I really don't know how to do this. For example brew info flex I get flex: ...
0
votes
1answer
67 views

If I symlink an iCloud folder to my OS X drive, will the files only be accessible while I'm online?

I was thinking of moving my documents folder to iCloud then just creating a symlink to them on my computer (is this a bad idea in the first place, is there a more elegant solution?) However I would ...
0
votes
0answers
90 views

Symlinking iBooks directory breaks the library. Where did I go wrong?

So I'm trying some superuser-foo, and I want to store my iBooks library outside ~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books I copied the library and the books to an ...
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'.
0
votes
0answers
37 views

Logic Pro X and SymLinked Files

I use Logic Pro X, and it's very particular of the naming of the directories it uses. I'm SymLinking the Gigabytes of extra content it's downloaded from external drives. HOWEVER I wanted to ask ...
2
votes
1answer
51 views

Are there any good reasons to NOT symlink 'System Folders' like Photos or Music?

I am currently adopting oDrive for all my cloud storage needs. The only restriction that oDrive has it that it creates a folder called 'ODRIVE' on your computer. Everything that you want to sync has ...
1
vote
2answers
63 views

Symbolic links of plist file getting turned into plain text files

I'm trying to share my Sequel Pro favourites between my iMac and my Macbook Air. The method I'm using is this: On the iMac, ove Favorites.plist from ~/Application Support/Sequel Pro/Data to ...
1
vote
1answer
82 views

How to copy a zip with symbolic link in OS X?

I am trying to create a zip file with a symbolic link. I have a subfolder in my mainfolder with some.bundle. I create symbolic link for this some.bundle which is placed in another subfolder of ...
2
votes
0answers
97 views

How to Restore the Mail Symlinks to External Drive on 10.11?

My Mac Mail has been working using an external drive for the library and all messages since 2013. However I upgraded to 10.11 today and need to find a way to reference everything on the external ...
1
vote
0answers
55 views

create font library on custom folders with symlinks / setenv

the idea is to leave osx mavericks with the basic system fonts and create folder on other partitions or external drive, so i can organize fonts how i want without install them system-wide. got some ...
1
vote
1answer
462 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 ...
0
votes
2answers
77 views

Softlink /bin/bash to a brew-installed bash

It is a question related to this other one, but I can't comment. I've updated to use bash 4 from brew installation. But I don't know if changing all the header scripts from: #!/bin/bash To ...
0
votes
1answer
73 views

Python interpreter crashes on execution

having bought my first macbook I am not very experienced in debugging the libraries and a bit at a loss. Upon execution of my python script the following error report shows up: Process: ...
0
votes
0answers
13 views

/home/ directory

I just set up a new computer and am importing some files. Some of the previous files such as power point presentations link to pictures or movies that used to have paths like /home/username/movie. ...
0
votes
1answer
19 views

Could not create symlink for “/Users”

I want to create symbolic link for /Users to /home. So i tried to execute ln -s \Users \home. which gave me error ln: /home/Users: Operation not supported. Any way to do this? Thanks
0
votes
0answers
141 views

Yosemite 10.10.5 broken NotesV3.storedata symlink

On Yosemite 10.10.5, there is a symlink file named: ~/Library/Containers/com.apple.Notes/Data/Library/CoreData/ExternalRecords/728187DE-B1D2-4856-A8C9-3772B28EA0FF/.support/store-file The target ...
1
vote
1answer
20 views

Why are Finder shortcuts to Ext HDD removed whenever it's not connected? Workarounds?

I have a lot of files on an external drive to my new MBP and there's too many of them for the internal 500GB SSD (and no second drive bay to make a fusion drive or have a second drive in latest MBP ...
0
votes
1answer
410 views

Recover FIles/Folder from sudo rm -rf Terminal Command

Short Story: I was attempting to create a symlinked folder from my external to my desktop, and the folder I wanted (ALL of my working folders and files) are gone. Long Story: My job wanted me to use ...
0
votes
2answers
39 views

How to remove '/home' directory?

OS X 10.9.5. I have a /home directory in my filesystem. I want to remove it and create a symlink named /home pointing to /Users to make symlinks from GNU/Linux usable. But I cannot remove /home ...
4
votes
1answer
633 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, ...
0
votes
0answers
43 views

How to make spotlight index symlinks on a standard network share under Mavericks

For reasons that escape me, Spotlight will not find symlinks that exist on a network mounted volume (shared from a Mac Mini running OS X 10.8.5). It does see all other files, including aliases. But ...
1
vote
1answer
486 views

/usr/include vs /usr/local/include

I just discovered that on my MAC /usr/local/include is a symbolic link to usr/include (since about 9 months), causing problems with homebrew. I wonder whether this link is normal? harmless? Is there a ...
0
votes
1answer
2k views

Cannot login directly into user account - first have to login as administrator

I updated my Macbook to 10.9 Yosemite, and at the same time I encrypted the user data partition. The system partition was already encrypted. I use an administrator account with admin rights, and a ...
0
votes
1answer
75 views

Automating Creation of Hundreds of Symlinks in Finder

What's going to be the most painless way to automate the creation of hundreds of symlinks? My iTunes Movies folder contains each .mp4 film in an individual folder. These folders are named for the ...
1
vote
0answers
30 views

Printer deamon creates hundreds of symlinks

Today I stumbled over hundreds of symbolic links in my OS X /tmp folder. > … lrwxr-xr-x 1 root wheel 66B 10 Mai 11:42 554f27eaca409 -> ...
1
vote
1answer
4k views

Best Practices for dealing with unbrewed files in a fresh install of homebrew

I accidentally deleted /usr/local/bin which contained brew among other things. I reinstalled homebrew and ran brew prune to get rid of broken symlinks, but when I run brew doctor, I still get the ...
0
votes
0answers
23 views

To search contents of symlink

I want to search documents from by disc2 to which I created a symlink to disc1. However, I think this is not the way to go by creating a symblink to a current folder: ln -s ...
0
votes
1answer
268 views

grepping /Library and “Too many levels of symbolic links”

I'm trying to clean up remnants of an application that was removed: $ sudo grep -R "iNet Network" /Library ... grep: ...
1
vote
0answers
13 views

What is the `/private` directory [duplicate]

The Apache httpd 2.4 server is bundled with Yosemite. It seems to me that the directories /etc/apache2 and /private/etc/apache are the same. However I don't see any symlink. Did I missed something ?
2
votes
1answer
2k views

Installed App with Brew Cask Over Existing Install, Did it Remove the Old App Files?

I upgraded to the latest OpenOffice (from 3.4.1 to 4.1.1) with brew-cask without realizing OpenOffice 4 was already installed: $ brew cask install openoffice ==> Downloading ...
22
votes
4answers
31k 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 ...
8
votes
5answers
8k 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 ...
1
vote
1answer
198 views

How do I create a symlink to MacVim configuration files?

I want to store my configuration files in source control and symlink them so they will be used by MacVim. Looking at :scriptnames I see vimrc and gvimrc being used in: ...
5
votes
3answers
7k views

Symbolic link icons don't update

When a symlink is created, it gets the icon of the target folder (with the addition of a black arrow in the lower left corner). The issue I am having is that the symlink icon does not update when the ...
1
vote
1answer
625 views

Why do symlinks sometimes vanish in Xcode?

The source files of interest are on a network share hosted on a Win7 machine, but the symlinks are created on this Mac using ln -sf These are .h files, and sometimes one or more of them are not found ...
2
votes
0answers
148 views

How can I customize the symlinks that MacPorts creates/deletes when using its `port select --set <group>` command?

I use MacPorts to manage certain *nix packages on my Mac. One such Mac has multiple Python versions installed. When I switch between Python versions, I use a command like: port select --set python ...
1
vote
0answers
579 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 ...
1
vote
1answer
156 views

Can I create symbolic links in OS X which also work in Windows/Linux and vice versa?

I'm synchronizing a folder structure between my MacBook (OS X 10.6) and a PC with Windows XP (soon Linux or Windows 7). My problem is that Windows shortcuts or OS X aliases seem to be unusable on the ...