I use a couple programs that i would like to have the data synced to both of my Linux boxes one of which is a laptop so the sync must work over the Internet. I am currently using Luckybackup and dropbox to accomplish this. I would prefer the sync to be either in real time or to write a script to rsync upon application open and close. Unfortunately I am a complete noob when it comes to scripts. Any help with how to write this script or alternatives would be greatly appreciated.