Synchronize my Sublime Text 2 settings over Google Drive
SET _DESTINATION=s:\Colovic Vladan\Documents\Google Drive\Settings\Sublime Text 2
xcopy /I /E /H /K /O /X /Y /Q "%APPDATA%\Sublime Text 2\Installed Packages" "%_DESTINATION%\Installed Packages"
del /Q /S "%APPDATA%\Sublime Text 2\Installed Packages"
rmdir /Q /S "%APPDATA%\Sublime Text 2\Installed Packages"
mklink /J "%APPDATA%\Sublime Text 2\Installed Packages" "%_DESTINATION%\Installed Packages"
xcopy /I /E /H /K /O /X /Y /Q "%APPDATA%\Sublime Text 2\Packages" "%_DESTINATION%\Packages"
del /Q /S "%APPDATA%\Sublime Text 2\Packages"
rmdir /Q /S "%APPDATA%\Sublime Text 2\Packages"
mklink /J "%APPDATA%\Sublime Text 2\Packages" "%_DESTINATION%\Packages"
xcopy /I /E /H /K /O /X /Y /Q "%APPDATA%\Sublime Text 2\Pristine Packages" "%_DESTINATION%\Pristine Packages"
del /Q /S "%APPDATA%\Sublime Text 2\Pristine Packages"
rmdir /Q /S "%APPDATA%\Sublime Text 2\Pristine Packages"
mklink /J "%APPDATA%\Sublime Text 2\Pristine Packages" "%_DESTINATION%\Pristine Packages"
Sublime Text 3 & Synching Settings on Windows
SET _DESTINATION= ... \Settings\Sublime Text 3
xcopy /I /E /H /K /O /X /Y /Q "%APPDATA%\Sublime Text 3\Installed Packages" "%_DESTINATION%\Installed Packages"
del /Q /S "%APPDATA%\Sublime Text 3\Installed Packages"
rmdir /Q /S "%APPDATA%\Sublime Text 3\Installed Packages"
mklink /J "%APPDATA%\Sublime Text 3\Installed Packages" "%_DESTINATION%\Installed Packages"
xcopy /I /E /H /K /O /X /Y /Q "%APPDATA%\Sublime Text 3\Packages" "%_DESTINATION%\Packages"
del /Q /S "%APPDATA%\Sublime Text 3\Packages"
rmdir /Q /S "%APPDATA%\Sublime Text 3\Packages"
mklink /J "%APPDATA%\Sublime Text 3\Packages" "%_DESTINATION%\Packages"
Sublime Text 3 & Synching Settings on Linux
_DESTINATION=~/Settings/Sublime\ Text\ 3
rm -rf ~/.config/sublime-text-3/Installed\ Packages/*
ln -s "$_DESTINATION"/Installed\ Packages ~/.config/sublime-text-3/Installed\ Packages
rm -rf ~/.config/sublime-text-3/Packages/*
ln -s "$_DESTINATION"/Packages ~/.config/sublime-text-3/Packages