Synchronize my Sublime Text 2 settings over Google Drive

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 & Dropbox (Windows)

SET _DESTINATION=c:\Users\Colovic\Dropbox\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 & Dropbox (Linux)

_DESTINATION=~/Dropbox/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

date 01. Jan 0001 | modified 28. May 2021
filename: Sublime Text - Sync in Cloud