问题描述
没有太多要补充的问题.rsync如何过滤必须传输的数据以及可以留下的数据?
Not much to add to the question. How does rsync filter which data it must transfer and which it can leave alone?
推荐答案
直接来自手册页 (http://linux.die.net/man/1/rsync ):
Directly from the man page (http://linux.die.net/man/1/rsync):
"Rsync查找需要使用lqquick checkrq算法传输的文件(默认情况下),该算法查找大小或上次修改时间已更改的文件.其他保留属性中的任何更改(按选项的要求)当快速检查表明不需要更新文件的数据时,将直接在目标文件上进行."
"Rsync finds files that need to be transferred using a lqquick checkrq algorithm (by default) that looks for files that have changed in size or in last-modified time. Any changes in the other preserved attributes (as requested by options) are made on the destination file directly when the quick check indicates that the file's data does not need to be updated."
这篇关于rsync到底如何工作?如果您的文件没什么不同,是否不传输任何东西是否足够聪明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!