Skip to content

psudmant/pysync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

##pysync

pysync is a tool written for me to manage my files on both my laptop and remotely.

In general, it is often the case that I will have a large directory structure cloned locally, and I will edit parts of this structure both at home and at work at different times. I want an easy way to sync these two sets of files easily. rsync works great, but, it's a bit cumbersome sometimes to write the full paths out. Thus, instead of:

#pull
rsync -arvz user@host:<remote_path>/big_dir/.../working_dir  <local_path>/big_dir/.../working_dir
#push
rsync -arvz  <local_path>/big_dir/.../working_dir user@host:<remote_path>/big_dir/.../working_dir 

just do:

#from <working_dir>
pysync set_remote_path user@host:<remote_path>/big_dir/.../working_dir
#this saves the remote_path in the file .pysync.info for future use 
pysync pull
pysync push

There's not much to it, but, for me I'd always make tiny errors in my full push or pull rsync which would totally screw me. This helps. Honestly. Well, for me it does.

About

An rsync wrapper for local maintenance of directories stored in remote locations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors