当前位置: 技术问答>linux和unix
rsync 时间戳同步的问题
来源: 互联网 发布时间:2016-10-21
本文导语: rsync 能不能按时间戳同步? 就是说文件名一样的~ 如果文件有修改时间晚于同步机制~ 就覆盖此文件? 如果不行的有没有什么好的解决办法? 急求~~~ 谢谢了~~~ | rsync本身就有这个特性吧 ...
rsync 能不能按时间戳同步? 就是说文件名一样的~ 如果文件有修改时间晚于同步机制~ 就覆盖此文件? 如果不行的有没有什么好的解决办法? 急求~~~ 谢谢了~~~
|
rsync本身就有这个特性吧
只同步更新过的文件
只同步更新过的文件
|
同意楼上。
rsync does a better job of reducing the time and network load required to synchronize data because it creates signatures for each block and only passes these block signatures back and forth to decide which data needs to be copied.
rsync还有很多特性:
1.Examines the source files and only copies blocks of data that change.
2.(Optionally) works with the secure shell to encrypt data before it passes over the network.
3.Allows you to compress the data before sending it over the network.
4.Will automatically remove files on the destination system when they are removed from the source system.
5.Allows you to throttle the data transfer speed for WAN connections.
6.Has the ability to copy device files
rsync does a better job of reducing the time and network load required to synchronize data because it creates signatures for each block and only passes these block signatures back and forth to decide which data needs to be copied.
rsync还有很多特性:
1.Examines the source files and only copies blocks of data that change.
2.(Optionally) works with the secure shell to encrypt data before it passes over the network.
3.Allows you to compress the data before sending it over the network.
4.Will automatically remove files on the destination system when they are removed from the source system.
5.Allows you to throttle the data transfer speed for WAN connections.
6.Has the ability to copy device files