-
-
Save vvchistyakov/345603c2cfc50da9eb6e217786cabbf8 to your computer and use it in GitHub Desktop.
Add a symbolic link to iCloud Drive in Bash on macOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Lets you `cd 'iCloud Drive'` from your home directory, | |
# or `cd ~/iCloud\ Drive` from elsewhere. | |
ln -sv ~/Library/Mobile\ Documents/com~apple~CloudDocs/ ~/iCloud\ Drive | |
chflags -h hidden ~/iCloud\ Drive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment