A little package to mimic git-like-syncing-behaviour for large binary files with python and rsync. Best is to compile your own binary with PyInstaller and append it to $PATH.
You may add any of rsync's double-dash options to modify the sync command. You may also use a file named .exclude in your repository-root directory to exclude files and directories. See http://linux.die.net/man/1/rsync for more information.
Deleted files will be moved to:
.repository/backups/<date>/
Initialize empty repository in current working directory.
python pysync.py init
Clone from a remote repository.
python pysync.py clone <remote-ssh-url>
After cloning a repository or setting a remote origin you can pull changes from the remote repository.
python pysync.py pull
Push changes to a remote origin.
python pysync.py push <origin>
Set or change a remote origin url.
python pysync.py set-remote <origin> <remote-ssh-url>
Remove origin.
python pysync.py remove-remote <origin>