Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symlink]

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

1
vote
0answers
51 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 ...
0
votes
0answers
40 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 ...
2
votes
1answer
142 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
26 views

iCloud backup any folder

I've recently noticed that iCloud synced folders are linked to /Users//Library/Mobile Documents/com~apple~CloudDocs I wonder if I could link there a folder myself and therefore have it synced. Here ...
0
votes
0answers
10 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. ...
0
votes
0answers
44 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....
0
votes
0answers
42 views

How to create a dynamic symbolic link to user's “Application Support” Folder (with ~ or $HOME)

In a MacOS dmg installer image I would like to let the end user drag'n'drop install application data to the user's "Application support" folder. Is it possible to create a dynamic symbolic link (with ...
-3
votes
1answer
63 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
290 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, ...
1
vote
1answer
22 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
0answers
36 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 ...
0
votes
1answer
264 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 ...
4
votes
3answers
84 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
504 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
75 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
78 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
55 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 ...
1
vote
1answer
115 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,...
0
votes
1answer
35 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. ...
1
vote
0answers
284 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 ...
3
votes
2answers
703 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 ...
3
votes
4answers
4k 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 ...
2
votes
1answer
143 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
62 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/...
1
vote
2answers
81 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 ...
3
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 ...
1
vote
1answer
114 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 ...
0
votes
1answer
72 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 ...
2
votes
0answers
389 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
50 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
135 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 ...
3
votes
0answers
27 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 ...
2
votes
1answer
86 views

Can you have symlinks across various backup disks/ volumes?

Is it possible to have two backup disks, which, when connected to the same machine, can have directories symlinked to each other? I'm working on this triple redundant backup scheme in which not all ...
1
vote
1answer
549 views

Terminal: grep recursive - don't search in symlink contents

When searching with grep -r, it avoids following symbolic links by default. This is true for directories, but grep still inspects the contents of files that are symlinks. For instance, if I have a ...
0
votes
1answer
56 views

Living / Linked Copy of File without Alias

Is it possible to have a linked copy of a file that updates whenever the original is saved? This is mainly for use with Google Drive and SVN, where I need a file to exist in two locations, but not be ...
3
votes
2answers
176 views

How to put Desktop on External Drive/Non-System Partition?

Is it possible to get something like a symbolic link/alias to direct to another folder on an external hard drive and still have the files display on the desktop? I used: sudo rm -rf ~/Desktop sudo ...
3
votes
0answers
77 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 ...
1
vote
1answer
121 views

Can automator create symlinks but skip existing files?

Today I discovered the awesome Create Symlinks action from JuneCloud. It works great, but creates duplicate files (appending a number to each one) for any symlink that already exists in the final ...
2
votes
1answer
1k views

Bash script for creating symbolic links

I am relatively new to bash and am having some trouble with a script I am trying to write. After spending the last hour or so researching and trying new techniques, I am still unable to do what I ...
1
vote
0answers
293 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 ...
2
votes
1answer
1k views

How do I upgrade my openssl? A symlink isn't working for /usr/local/bin/OpenSSL

I'm having trouble updating my version of openssl so I can get Fastlane working. Can anyone explain where OpenSSL should be, and how different environments hook into it? MACOS:~ lamont$ openssl ...
1
vote
0answers
205 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
1answer
136 views

Terminal command that is the same as copy paste in Finder?

I'm curious. As far as cp and rsync I see all these different options. Correct me if I'm wrong, but if you copy + paste in Finder, lets say from one hard drive to another, it should preserve: All ...
1
vote
2answers
3k views

Create a symbolic link for sublime text in Mac OS X

I have the newest Mac OS 10.12.3. With the new rootless system Apple has implemented, I can't create a symbolic link using ln under /usr/bin. My goal is so that I can use subl in terminal. How can I ...
1
vote
0answers
40 views

Alias shows different locations between Terminal and Finder

I have a broken alias displays different locations for the original file depending on whether I am using Finder's "Get Info" command or if I use ls -l in Terminal. In Finder, it says the original ...
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-...
0
votes
2answers
50 views

Symlinking /User/SpecialFolder to different drive creates Folder in Folder

Just finished re-installing macOS Sierra on my MBP and am trying to move the ~/Downloads and other folders to a different drive so they end up in /Volumes/Data/ instead. I created a /Volumes/Data/...
1
vote
1answer
167 views

Relocated Home directory to exFAT partition => Skype freezes

Do you have a fix for this particular scenario: 1) Two partitions boot drive, the second one formatted exFAT 2) Relocate Home directory to Partition2 using the default way: System Preferences -> ...
1
vote
1answer
269 views

Symlinked MobileSync folder but still “not enough free space”

I have an external hard drive and I plan to put iPhone backups on it. I did symlink to it this way: ln -s /Volumes/external/Backup ~/Library/Application Support/MobileSync When I'm trying to do a ...
2
votes
1answer
3k views

Symlink for OneDrive

I did research beforehand on google How to Sync Any Folder to the Cloud With Symbolic Links and on Ask Different, but I still cannot find an answer to this specific question. The file I want to ...