I added a functionality to EmulationStation which is very useful to me: Backups of the savegames via git. Besides of "Shutdown" and "Restart" there are now the options "git backup" and "git pull".
You can get my version from https://github.com/vobi/EmulationStation
It's just 8 lines of modification in the source code.
In order to get it working you have to set up the git repository properly. Here is what i did:
append client's .ssh/id_rsa.pub to server's .ssh/authorized_keys
git --bare init
git clone ssh://user@serverurl:sshport/~/savegames.git
mv savegames/.git RetroPie/roms
git add */*.srm
git commit -m "initial commit"
git push origin master
Note that only *.srm files of subdirectories of the roms folder (doesn't need to be named that way) are under control of git. I don't know if there are other extensions for the savegames, I only played gbc and snes which had these extensions.
Feel free to improve and simplify this, especially the "git add" command was a little tricky to get working. It is very likely that the construction of the paths is easier as well since I haven't looked into the code very much.