search

Home  >  Q&A  >  body text

php - rsync will synchronize modified or newly added code

rsync will synchronize modified or newly added code. Will it also be synchronized if it has not been modified?

伊谢尔伦伊谢尔伦2751 days ago418

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:11:41

    rsync is equivalent to network sharing. All additions, deletions and modifications will be synchronized. But you can choose to control it, such as only synchronizing modified files and not deleted files. My company also has this one, and I use it for backup.

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:11:41

    It is recommended to use version management tools for synchronous code modifications, such as SVN or GIT, which are more reliable than rsync. rsync is generally only used for backup or file synchronization between servers.

    reply
    0
  • Cancelreply