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.GitFTP-Deploy.plist

Prepare


Quit GitFTP-Deploy

Go to preferences folder and backup first

cd ~/Library/Preferences
cp se.eastwest.GitFTP-Deploy.plist se.eastwest.GitFTP-Deploy.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.GitFTP-Deploy.plist ~/Dropbox/Prefs/
ln -s  ~/Dropbox/Prefs/se.eastwest.GitFTP-Deploy.plist se.eastwest.GitFTP-Deploy.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.GitFTP-Deploy.plist "/Users/janne/Library/Mobile Documents/com~apple~CloudDocs"
ln -s  ~/Library/Mobile Documents/Prefs se.eastwest.GitFTP.plist

Revert


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

cd ~/Library/Preferences
rm se.eastwest.GitFTP-Deploy.plist
mv se.eastwest.GitFTP-Deploy.backup se.eastwest.GitFTP-Deploy.plist