Last active
September 5, 2024 01:39
-
-
Save erwanjegouzo/5903791 to your computer and use it in GitHub Desktop.
Dropbox sync
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
#DROPBOX SYNCING | |
#============== | |
# bash_profile | |
rm -rf .bash_profile | |
ln -s ~/Dropbox/.bash_profile .bash_profile | |
# Sublime 2 Preferences | |
cd ~/Library/Application\ Support/Sublime\ Text\ 2/ | |
ln -s ~/Dropbox/appdata/sublime/Installed\ Packages ./Installed\ Packages | |
ln -s ~/Dropbox/appdata/sublime/Packages ./Packages | |
ln -s ~/Dropbox/appdata/sublime/Pristine\ Packages ./Pristine\ Packages | |
# Iterm2 preferences | |
cd ~/Library/Preferences | |
mv com.googlecode.iterm2.plist ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist | |
mv com.googlecode.iterm2.plist.lockfile ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist com.googlecode.iterm2.plist | |
ln -s ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist.lockfile com.googlecode.iterm2.plist.lockfile | |
# Terminal Preferences | |
mv com.apple.Terminal.plist ~/Dropbox/Library/Preferences/com.apple.Terminal.plist | |
mv com.apple.Terminal.plist.lockfile ~/Dropbox/Library/Preferences/com.apple.Terminal.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.apple.Terminal.plist.lockfile com.apple.Terminal.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.apple.Terminal.plist com.apple.Terminal.plist | |
# .gitconfig file | |
mv ~/.gitconfig ~/Dropbox/.gitconfig | |
ln -s ~/Dropbox/.gitconfig .gitconfig | |
#nano | |
mv .nano ~/Dropbox/.nano | |
ln -s ~/Dropbox/.nano .nano | |
mv .nanorc ~/Dropbox/.nanorc | |
ln -s ~/Dropbox/.nanorc .nanorc | |
#vim | |
mv .vim ~/Dropbox/.vim | |
ln -s ~/Dropbox/.vim/ .vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment