Two way sync with rsync

后端 未结 10 1798
别那么骄傲
别那么骄傲 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:26

    I'm not sure whether it works with two syncing but for the --delete to work you also need to add the --recursive parameter as well.

提交回复
热议问题