-
-
Save mahmoudimus/7a813b8b918ab2a9118e80cc644f0416 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