Two way sync with rsync

后端 未结 10 1796
别那么骄傲
别那么骄傲 2021-01-29 18:50

I have a folder a/ and a remote folder A/. I now run something like this on a Makefile:

get-music:
 rsync -avzru server:/media/10001/music/ /media/Incoming/music         


        
10条回答
  •  青春惊慌失措
    2021-01-29 19:19

    You can use cloudsync to keep a folder in-sync with a remote:

    pip install cloudsync
    pip install cloudsync-gdrive
    cloudsync sync file:c:/users/me/documents gdrive:/mydocs
    

    If the remote is NFS, you can use:

    cloudsync sync file:c:/users/me/documents/ file:/mnt/nfs/whatevs
    

提交回复
热议问题