Skip to content

Instantly share code, notes, and snippets.

@kamui
Created August 21, 2010 02:35
Show Gist options
  • Save kamui/541661 to your computer and use it in GitHub Desktop.
Save kamui/541661 to your computer and use it in GitHub Desktop.
Move Mac application preferences to Dropbox
cd ~
mkdir -p ~/Dropbox/dotfiles/
# dotfiles
mv .profile ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.profile .profile
mv .zshrc ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.zshrc .zshrc
mv .gitconfig ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.gitconfig .gitconfig
mv .gitignore ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.gitignore .gitignore
mv .vminfo ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.vminfo .vminfo
mv .irbrc ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.irbrc .irbrc
mv .editrc ~/Dropbox/dotfiles/
ln -s ~/Dropbox/dotfiles/.editrc .editrc
# Start Application Config files
mkdir -p ~/Dropbox/Library/Application\ Support/
cd ~/Library/
# Key Bindings
mv KeyBindings ~/Dropbox/Library/KeyBindings/
ln -s ~/Dropbox/Library/KeyBindings KeyBindings
# Calendars
mv Calendars ~/Dropbox/Library/Calendars/
ln -s ~/Dropbox/Library/Calendars Calendars
# Keychains
mv Keychains ~/Dropbox/Library/Keychains/
ln -s ~/Dropbox/Library/Keychains Keychains
cd ~/Library/Application\ Support/
# Address Book
mv AddressBook ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/AddressBook AddressBook
# Adium
mv Adium\ 2.0 ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/Adium\ 2.0 Adium\ 2.0
# TextMate
mv TextMate ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/TextMate TextMate
# Cyberduck
mv Cyberduck ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/Cyberduck Cyberduck
# SIMBL
mv SIMBL ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/SIMBL SIMBL
# Firefox
mkdir -p ~/Dropbox/Library/Application\ Support/Firefox/
mv Firefox/Profiles ~/Dropbox/Library/Application\ Support/Firefox/
mv Firefox/profiles.ini ~/Dropbox/Library/Application\ Support/Firefox/profiles.ini
ln -s ~/Dropbox/Library/Application\ Support/Firefox/profiles.ini Firefox/profiles.ini
ln -s ~/Dropbox/Library/Application\ Support/Firefox/Profiles Firefox/Profiles
# Quicksilver
mv Quicksilver ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/Quicksilver Quicksilver
# Growl
mkdir -p ~/Dropbox/Library/Application\ Support/Growl/
mv Growl/Plugins ~/Dropbox/Library/Application\ Support/Growl/
ln -s ~/Dropbox/Library/Application\ Support/Growl/Plugins Growl/Plugins
# Propane
mv Propane ~/Dropbox/Library/Application\ Support/
ln -s ~/Dropbox/Library/Application\ Support/Propane Propane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment