Linked Questions
18 questions linked to/from How can I create a symbolic link in Terminal?
28
votes
2
answers
15k
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 link/...
12
votes
3
answers
2k
views
How to create MacOS/*nix command explainer text like this using a tool?
┌── ln(1) link, ln -- make links
│ ┌── Create a symbolic link.
│ │ ┌── the optional path to the intended symlink
│ │ │ if omitted, symlink is in ...
5
votes
1
answer
6k
views
What does a hard link do?
This has been mentioned in this question here:
What's the difference between alias and link?
But I am not even sure what I am looking for. I wish to create a hard link of the type where if a ...
3
votes
2
answers
6k
views
macOS Cannot Create Valid Symlink From Terminal Using Relative Paths
Using the following snippet it creates an invalid symlink. But according to other answers it should work fine.
# make a temp dir and save path to var.
# set dir (mktemp -d) # fish shell only!
dir=$(...
2
votes
2
answers
14k
views
Restoring iPhone Backup from External Hard Drive
I had recently organised all the storage on my Mac and was finally able to back up my MAC and my iPhone. In order to create more space, I found an article online which told me how to move the back up ...
4
votes
1
answer
6k
views
Can I remove user's home directory folders?
I have the following scenario:
All of my files, documents etc. are saved on Copy.com.
I have installed copy on my MacBooc Air all my files went to the following directory:
/Users/username/Copy
/...
0
votes
1
answer
6k
views
Can I get some help making a symbolic link to run VSCode from the command line?
I downloaded VSCode and tried to make link for code to use code command to open VSCode. I also appended this vscode path to PATH variable. I have downloaded VSCode in folder called Work. This Work ...
1
vote
1
answer
2k
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 /Users/masi/...
5
votes
1
answer
2k
views
Is it possible to edit a macOS alias with vim?
I like to use macOS's alias feature to not have to make redundant files. These aliases work great with Chrome and TextEdit. When I open them with vim, however, I get a giant messy file (presumably the ...
1
vote
2
answers
731
views
Homebrew git reporting older version
I have just upgraded git. It's now a symlink to the Cellared most recent version.
$ ls -l `which git`
/usr/local/bin/git -> ../Cellar/git/2.14.1/bin/git
However
$git --version
git version 2.11.0 ...
1
vote
1
answer
384
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 ...
0
votes
3
answers
970
views
How to change the `sh` command to run scripts in bash 4
I have installed bash 4 with Homebrew and bash --version shows me the version 4.
If I have following test script:
#!/usr/local/bin/bash
# test-version.sh
echo $BASH_VERSION
And I make it executable ...
4
votes
1
answer
276
views
Sync custom App Shortcuts via iCloud
I know that with Mavericks and iOS 7, iCloud syncs text shortcuts automatically across devices. Does iCloud also sync custom Application specific Shortcuts across Macs?
Application specific ...
0
votes
1
answer
323
views
ln symbolic link command error - iphone bu symbolic link troubleshoot
Having problem changing iphone backup location (following this tutorial https://www.iclarified.com/72786/how-to-change-your-iphone-backup-location-mac)
cannot interpret the error - any help ...
0
votes
1
answer
205
views
Can I use a USB stick to store cache?
Is it possible to (easily) have my computer store cache files on a usb stick, and if so, how?