There are other ways but this one is my favourite. All your need is Google Drive and an Google account.
Install it to your pc. It will create a new folder where you can drop files/folders to synchronize automatically.
Create a windows *.bat file with this content (change the names, path's and folders)
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
It is quite self explaning.
Good part: The script (parameter /m) set's the archive bit when copied. So every file is copied only once. If it changes, windows deletes the bit and it will becopied again = newer version.
You can add zip functions, too.
			
			Install it to your pc. It will create a new folder where you can drop files/folders to synchronize automatically.
Create a windows *.bat file with this content (change the names, path's and folders)
			
				B4X:
			
		
		
		set source=C:\xampp\htdocs\*.*
set destination="C:\Users\Klaus\Google Drive\XamppSave\HtdocsData"
xcopy %source% %destination% /m /E /Y
set source="C:\Users\Klaus\Documents\Visual Studio 2013\Projects\*.*"
set destination="C:\Users\Klaus\Google Drive\VS-Sicherung\Projects"
xcopy %source% %destination% /m /E /Y
set source="C:\Users\Klaus\Documents\B4A Apps\KlausSourceCode\*.*"
set destination="C:\Users\Klaus\Google Drive\b4a"
xcopy %source% %destination% /m /E /Y
set source="C:\Users\Klaus\Documents\B4JApps\*.*"
set destination="C:\Users\Klaus\Google Drive\b4j"
xcopy %source% %destination% /m /E /Y
set source="C:\Users\Klaus\Documents\RaspBerry\*.*"
set destination="C:\Users\Klaus\Google Drive\RaspBerry"
xcopy %source% %destination%  /m /E /YIt is quite self explaning.
Good part: The script (parameter /m) set's the archive bit when copied. So every file is copied only once. If it changes, windows deletes the bit and it will becopied again = newer version.
You can add zip functions, too.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		