RSync: How do I synchronize in both directions?

后端 未结 8 1534
野的像风
野的像风 2020-12-07 09:00

I want to use rsync to synchronize two directories in both directions.

I refer to synchronization in classical sense (not how it is

相关标签:
8条回答
  • 2020-12-07 09:47

    Do you know Unison File Synchronizer?

    Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. ...

    Note also that it is resilient to failure:

    Unison is resilient to failure. It is careful to leave the replicas and its own private structures in a sensible state at all times, even in case of abnormal termination or communication failures.

    0 讨论(0)
  • 2020-12-07 09:47

    What you need is Rclone. Rclone ("rsync for cloud storage") is a command line Linux program to sync files and directories to and from different cloud storage providers (box,dropbox,ftp etc) and local filesystems. Rlone supports mirror syncing only.

    Another more graphical solution which includes real-time syncing would be to use FreeFileSync, which includes the program RealTimeSync. FreefileSync support 2-way bidirectional syncing which includes handling deletes.

    0 讨论(0)
提交回复
热议问题