Sync site settings between computers

If you have som basic Terminal ninja skills you can set up a simple syncing to Dropbox or iCloud Drive with a symbolic link. Since all settings are stored in a plain plist-file and GitFTP-Deploy does not write to much to this, the cloud syncing works faily well.

All settings and sites are saved in a plist-file found here ~/Library/Preferences/se.eastwest.F-Bar.plist

Prepare


Quit F-Bar

Go to preferences folder and backup

cd ~/Library/Preferences
cp se.eastwest.F-Bar.plist se.eastwest.F-Bar.plist.backup


Sync with DropBox


In this example there is already a folder called “Prefs” in the Dropbox folder

Move your preferences to DropBox

mv se.eastwest.F-Bar.plist ~/Dropbox/Prefs/
ln -s  ~/Dropbox/Prefs/se.eastwest.F-Bar.plist se.eastwest.F-Bar.plist


Sync with iCloud Drive


In this example there is already a folder called “Prefs” in the Dropbox folder

Move your preferences to iCloud Drive

mv se.eastwest.F-Bar.plist ~/Library/Mobile Documents/Prefs
ln -s  ~/Library/Mobile Documents/Prefs se.eastwest.F-Bar.plist

Revert


If you want to revert to old settings just remove the symbolic link

cd ~/Library/Preferences
rm se.eastwest.F-Bar.plist
mv se.eastwest.F-Bar.plist.backup se.eastwest.F-Bar.plist