-
-
Save diddeb/e7e63aa3d08edb22fedd2b5ec1d6a429 to your computer and use it in GitHub Desktop.
Sync Sublime Text 3 Settings via iCloud Drive
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
# Create a directory named "Sublime Text 3 Sync" under iCloud Drive | |
mkdir ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync | |
# Enter Sublime Text 3's directory | |
cd ~/Library/Application\ Support/Sublime\ Text\ 3/ | |
# Move "Installed Packages" directory to iCloud Drive and make a link | |
mv Installed\ Packages/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/ | |
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/Installed\ Packages | |
# Move "Packages" directory to iCloud Drive and make a link | |
mv Packages/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/ | |
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/Packages/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment