Questions tagged [symlink]

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

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
30 views

Tradeoffs between symlinking vs changing path to $HOME

I'm moving my user account $HOME to a different drive. The Apple-blessed procedure is outlined here. An alternative would be just to symlink from the old to the new location. Are there any ...
3
votes
0answers
52 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 -> /private/etc/cups/ppd/...
3
votes
0answers
423 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 ...
2
votes
0answers
777 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
0answers
68 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 ...
2
votes
0answers
501 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 ...
2
votes
0answers
567 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
0answers
140 views

Symlinks to executables in `/Applications` cannot run

I'm trying to create a symlink to emacs, in order to let git use it as default editor. ln -s /Applications/Emacs.app/Contents/MacOS/Emacs emacs Calling /Applications/Emacs.app/Contents/MacOS/Emacs ...
2
votes
0answers
204 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 ...
2
votes
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:...
2
votes
0answers
278 views

Spotlight not finding .app created with appify

I've used a script called appify described here https://mathiasbynens.be/notes/shell-script-mac-apps to create /Applications/Emacs.app that runs the actual Emacs.app at /usr/local/Cellar/emacs/24.4/...
2
votes
0answers
41 views

Emacs does not auto restart after reboot?

I install Emacs via Homebrew and create a symbolic link: /Applications/Emacs.app -> /usr/local/Cellar/emacs/24.3/Emacs.app What does not seem to work properly is that after restarting, other ...
1
vote
1answer
21 views

Any way to make symlinks or aliases resolve over a network with macOS?

So I like to move my big folders from the home folder on the macOS System SSD to a hard drive and keep the SSD mainly for the system files and apps, a fairly common practice. Problem is when I want to ...
1
vote
0answers
85 views

Mailbox set as read-only when symlinking from an external storage

I have multiple mailboxes and I want to save space by moving some of them in an external storage. I'd like to still be able to view the email using Mail.app even if said mailbox is now located in an ...
1
vote
0answers
30 views

After upgrade to 10.15 Cataline /media folder is gone

Previously I had used /media to mount remote filesystems.. after upgrading today I find that the directory is gone and / is read only. Is there a workaround for this? The filesystem I had mounted ...
1
vote
0answers
477 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 ...
1
vote
0answers
211 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
0answers
112 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
vote
0answers
520 views

Problem with Symlinks for Moving Mail Data Folder to an External Drive

I am using the Terminal App in El Capitan 10.11.6 I have moved my, "Mail" Folder to the following location: /Volumes/ST-Cuda-4T/AppleMail/Mail From the following location in the Terminal I have ...
1
vote
0answers
237 views

Not able to share symlinked folders with Dropbox for Mac?

I'm having a problem with the Dropbox client for the Mac. I have symlinked ~/Projects/ into ~/Dropbox/Projects/ using MacDropAny.app, which basically runs ln -s. This works as suspected. But when I ...
1
vote
0answers
17 views

Will items that are supposed to download to a folder that has been changed to a symbolic link download to where the symbolic link is linked to?

I'm trying to put the downloaded content for Logic Pro X on an external hard drive. I created the appropriate folders on my external and put corresponding symbolic links in the appropriate ...
1
vote
0answers
164 views

Can Apache 2.2.24 from MacPorts 2.1.3 run stably on Server 10.6.8 Build 10K549 with symlinked targets?

Mac OS X Server 10.6.8 Build 10K549 running Apache 2.2.24 via MacPorts 2.1.3. Native Mac OS X Server http server disabled. The error message I'm getting in the log is as follows: [Tue Aug 13 11:21:...
1
vote
1answer
839 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 ...
0
votes
0answers
35 views

Under Catalina, should I use HFS+ or APFS when symlinking media folders to external drive

As I'm planning to install an SSD into my iMac with smaller capacity than the internal Fusion Drive its replacing, I will need to symlink my Movies, Music and Pictures folders to an external mains ...
0
votes
0answers
15 views

rsync options for maintaining app bundles' symlinks and metadata when copying onto and back from SMB shares?

In the past I've generally used rsync -a to primarily copy data around, but I'm shifting gears to a Windows Server 2019 platform with SMB shares to receive everything from app bundle backups to Photos ...
0
votes
0answers
91 views

Archive Utility: error 21 - is a directory

I have a zip file that contains symlink, every zip utility able to unpack it (unzip WithSymlink.zip works) but when I try to simply double click on it I et the error error 21 - is a directory Why is ...
0
votes
0answers
60 views

nvm (node version manager) nvm,node,npm not found

I did install nvm regarding the documentation, then installed the latest LTS node, nvm install 12.16.1 and globally installed yarn. everything was working well, the node -v and npm -v and which node ...
0
votes
0answers
12 views

How to selectively remove sym-linked files from a certain directly

In /usr/local/include , symlinked files from ../Cellar/ and /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ as follows; rwxr-xr-x 1 user admin 48B May 29 2018 unitypes.h -&...
0
votes
0answers
21 views

Does Spotlight index the contents of symlinks?

From what I can tell, Finder searches do not follow symlinks. Is this expected behavior? I can't find it documented anywhere. Background: I've been syncing some PDFs using Dropbox (location A), but ...
0
votes
0answers
636 views

ld: library not found for -lSystem

New to Mac. I am going to install a software and running make, returns the error: $ make gcc -I/Users/username/softwarename/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/...
0
votes
0answers
30 views

Symlink works differently on macOS than in linux

I have recently begun to work with Apple laptops and macOS. I wrote a script that symlinks my files and configs, and it works for my linux laptop. However, something went wrong in macOS. I narrowed ...
0
votes
0answers
252 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 ...
0
votes
0answers
143 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 ...
0
votes
0answers
39 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 /Volumes/Disc2/books/...
0
votes
0answers
1k views

How to access a symlink pointing to a place outside the share?

I have a share on Lion Server, and a symlink pointing to a directory outside the share. The symlink is working properly when user is logged into the machine via ssh (so permissions are fine), but when ...