Questions tagged [symlink]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Network drive in finder sidebar disappears, is there's a way keep them in unmounted state?

I use Automator to mount my network drives on boot by following instructions from this link: http://osxdaily.com/2012/05/04/automatically-connect-to-network-drive-mac-os-x/ and then drag the drives ...
2
votes
2answers
392 views

How does macOS implement symbolic link in Mojave on FAT32 filesystems?

I remember in the past, not all types of aliases (as in the macOS feature) can be created on all filesystems. This is because symbolic link (as in the type of file) is a special Unix file type, ...
0
votes
1answer
47 views

Show original shortcut in MacOS 10.14

I often make symbolic links of folders. I recently had to change my laptop and move from Sierra to Mojave. In the old OS I used to type Cmd + R to go to the original folder. This seems to no longer ...
3
votes
3answers
167 views

Why have symbolic links between files in folders at same depth?

I noticed that in macOS, the /usr/local/Cellar folder contains binaries installed using Homebrew, and that /usr/local/opt has symbolic links to a bunch of those binaries. I haven't used symbolic links ...
2
votes
1answer
177 views

Adding symlink to /usr/bin

I'm trying to add python3 to my path by adding a symlink but it's erroring and I'm not sure why. /usr/bin $ sudo su sh-3.2# ln -s /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 /usr/...
0
votes
0answers
128 views

How to sync only Masters folder of Photos library to OneDrive

I manage my picture library in Photos, the size of which is currently about 120 GB. For backup and to have online access to all my pictures I would like to sync the library with the cloud. However, I ...
1
vote
0answers
464 views

MacOS Mojave: How do I change the default /Users directory for ALL users logging in?

I've seen this question answered in various forms for other iterations of Mac OS X, but Mojave is proving a bit more challenging. In short: I have several dual drive systems, (SSD and HDD) with the ...
2
votes
3answers
5k 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 OS ...
3
votes
1answer
670 views

Best practices to move macOS Mail.app storage to an external drive?

I have a system with fairly small internal storage (500GB) so I have attached a reasonably quick external storage device (256GB) that will be constantly mounted. To free up space on the internal ...
0
votes
0answers
11 views

Original file overwriting symlink

I use symlinks to files in a large TexShop project I'm working on so I can do little scratch pad experiments aside from the main project, but use all the same preamble etc. The project is on DropBox. ...
1
vote
0answers
125 views

How to move shared albums data from Photos externally

I recently moved my Photos library to an external SSD. Unfortunately shared album data still lives locally inside ~/Library/Containers/com.apple.cloudphotosd/Data/Library/Application Support/com.apple....
1
vote
1answer
164 views

After upgrading weechat using Homebrew, brew says formula built but weechat was not symlinked

I installed weechat 1.9(an IRC client) with brew a long time ago. Today I was trying to update the program to the latest version with 'brew upgrade weechat'. The whole upgrading process was successful,...
7
votes
4answers
10k 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 ...
-3
votes
1answer
127 views

How to get xcode simulator working after moving Library/Developer to an external harddrive

How do I get device simulator working in xcode after moving the Library/Developer file to an external hard drive and symlinking it. Yes, I've already symlinked the files from Developer.
1
vote
1answer
1k views

Deleting symbolic link - operation not permitted

I stupidly used my terminal to create a symbolic link typing this: sudo ln -s /bin/tcsh tcsh And now I need to delete it. I tried sudo rm tcsh but when I authenticate it tells me: override rwxr-...
2
votes
1answer
6k views

Creating symlinks in “~/Library/Application Support/minecraft” that point to Dropbox, but “the original item for ”[file]“ can’t be found.”

The Background: I use Dropbox to back up my minecraft worlds, configuration files, and various other folders (bin, launcher_profiles.json, mods, resourcepacks, saves, servers.dat, versions). I put ...
1
vote
1answer
25 views

Create an hardlink across storage device (or alternative solutions)

I have named my secondary SSD with a name with a space in it - "My SSD", and have been using it for many years with multimedia applications without any problem. Part of my media library with thousands ...
2
votes
1answer
1k views

merge folder trees on OSX by moving, not copying them

It's backup time, and I've been trying to merge two big directory trees on the same (physical) partition, with lots levels of depth. The first one is the base containing all my projects up to 2014, ...
2
votes
0answers
48 views

Automator service to create Dropbox symlink

I'm trying to create an Automator service(in the right click menu) that creates a symlink of the folder/file and moves it to the Dropbox folder. This is what I have right now: while [ $# -ne 0 ]; do ...
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 ...
0
votes
1answer
447 views

Which filesystems support symbolic links?

I'm copying a big archive of files from a Linux host to an external USB hard drive, that will then plug into a macOS host. The copy should preserve the archive's many symbolic links (ln -s). What ...
3
votes
3answers
117 views

How to work with 2 Applications folders?

I have an internal 250 GB SSD. this drive was filling up and I bought an external 4 TB external hard drive. My Applications folder on my SSD was taking up a lot of space so I decided to create an ...
1
vote
2answers
1k views

Why does my symbolic link not work?

I wrote a small Julia program: println("Hello world!") I can run Julia from the Terminal: $ /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia test.jl Hello world! To make my life ...
1
vote
1answer
98 views

Symlink dotfiles to Documents/Dotfiles

I have a setup script which creates links between my dotfiles repo and the files at the root of my Home directory. Generally speaking, the process looks like this for each file: ln -s ~/Documents/...
1
vote
0answers
94 views

Symbolic link in High Sierra breaks when the file is modified

I have a file named file.ext. I create an symbolic link to this file named file_symlink.ext in other folder. When I modify file.ext directly (without opening the file via the symbolic link), the ...
-1
votes
1answer
57 views

Latest file for download

I want to be able to have a generic link to the latest version on of file available for download to make things easier for clients. Example: http://server.web.net/Adium/Adium-1.5.10.4.pkg If it could ...
4
votes
1answer
4k 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
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 ...
347
votes
5answers
489k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
3
votes
4answers
5k views

Hard links on High Sierra

I have been using hard links, as described here, for linking my important folders to my Dropbox. A very useful trick for backing up without messing up your preferred directory structure. After my ...
0
votes
1answer
39 views

Back up only actual files in directory structure

I want to backup my savegames: + /Library/Containers/com.doublefine.dfaosx/*** + /Library/Containers/com.doublefine.dottosx/*** I initially wanted to do this as part of a larger rsync backup. ...
2
votes
0answers
371 views

SMB protocol supports remote hard links but mount_smbfs(8) doesn't?

I've been using the excellent Link Shell Extension tool on Windows 7 to create hard links remotely to files on the same mounted volume on a Windows Server 2008 R2 drive [not symlinks — I included this ...
0
votes
1answer
1k views

Symlink to hidden file

I have 2 macs, and use Dropbox a lot. On my MacBook I have one folder synced with Dropbox (through a symlink, ln -s ~/folder ~/Dropbox) that is actually in my ~/Library directory, so it's hidden. It ...
3
votes
2answers
914 views

symbolic link vs. alias

Disclaimer: I work with programmers, but am not one myself and have no real / formal knowledge of how an OS works; please be patient if the following makes plain my ignorance :) I am trying to ...
24
votes
2answers
62k 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 ...
1
vote
2answers
88 views

How do `stat` and `file` differentiate symlinks?

I was doing my routine work today and it seems the stat and file commands in the terminal don‘t show if a file is a symbolic link: flow2k@myPad:dir ln -s aa.iml superlink flow2k@myPad:dir stat ...
4
votes
1answer
2k 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, ...
1
vote
1answer
2k 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 ...
3
votes
2answers
470 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?
36
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 ...
46
votes
5answers
62k 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
153 views

Logic Pro X Keyshortcut settings - can they be saved to iCloud Drive?

how do I make sure that the Logic Pro X Keyshortcut settings are somehow fetched from the iCloud Drive every time? I keep switching from machine1 to machine2 to machine3 and I think I've had to keep ...
1
vote
1answer
63 views

How to restore a Time Machine backup from a 2 HDD setup to a single HDD

My current (being phased out) setup on my iMac is SSD contains OS, HDD contains my home folder. /Volumes/iMacSSD/ is the OS /Volumes/iMacSSD/Users/iMac or /Users/iMac is a symlink to /Volumes/iMacHDD/...
2
votes
1answer
51 views

How to delete a folder that has 65535 links on it?

Somehow a folder from /var/folders (/var/folders/2j/8_50ggln3wz21k4gmfx86drh0000gn/T/ on my machine) got 65535 links to it. This caused my machine to not boot anymore. I managed to fix the booting ...
0
votes
1answer
74 views

Avid Sibelius on macOS Sierra - linking folders

Notational software Avid Sibelius installs preferences into the following path: /Users/username/Library/Application Support/Avid That folder contains House Styles, Keyboard Shortcuts, Plug-ins and ...
1
vote
1answer
134 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
789 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: /Applications/MacVim.app/...
2
votes
0answers
470 views

how to set node path in at /usr/local/bin using nvm

I have installed node using nvm first time and now when I run which node in terminal it gives me /Users/username/.nvm/versions/node/v6.11.4/bin/node but what I need that node path must be at /usr/...
2
votes
1answer
52 views

Why do symlinks in a duplicated folder turn into files after a few seconds?

I have a folder full of files. There are 98 images, and 98 symlinks to those images with alternate filenames. When I hit Duplicate in the Finder on that folder, the copy succeeds normally. But in ...
0
votes
1answer
159 views

How to repair python3.5 and why is it broken at all?

Seems that my python3.5 is broken. I can still call it, either with python3.5 or with /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5. But it does absolutely nothing, particularly, it ...