Skip to content

beesperester/python-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-sync

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>/

init repository

Initialize empty repository in current working directory.

python pysync.py init

clone repository

Clone from a remote repository.

python pysync.py clone <remote-ssh-url>

pull repository

After cloning a repository or setting a remote origin you can pull changes from the remote repository.

python pysync.py pull

push repository

Push changes to a remote origin.

python pysync.py push <origin>

set remote origin

Set or change a remote origin url.

python pysync.py set-remote <origin> <remote-ssh-url>

remove remote origin

Remove origin.

python pysync.py remove-remote <origin>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages