-
-
Save rtsmith/48820232c5cbed6527fb8479690e06c4 to your computer and use it in GitHub Desktop.
Add a symbolic link to iCloud Drive in Bash on macOS.
This file contains hidden or 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