--- embedaddon/rsync/rsync.yo 2012/02/17 15:09:30 1.1.1.1 +++ embedaddon/rsync/rsync.yo 2013/07/22 00:20:21 1.1.1.1.2.1 @@ -402,6 +402,7 @@ to the detailed description below for a complete descr --modify-window=NUM compare mod-times with reduced accuracy -T, --temp-dir=DIR create temporary files in directory DIR -y, --fuzzy find similar file for basis if no dest file + --detect-renamed try to find renamed files to speed the xfer --compare-dest=DIR also compare received files relative to DIR --copy-dest=DIR ... and include copies of unchanged files --link-dest=DIR hardlink to files in DIR when unchanged @@ -1589,6 +1590,21 @@ found, rsync uses the fuzzy basis file to try to speed Note that the use of the bf(--delete) option might get rid of any potential fuzzy-match files, so either use bf(--delete-after) or specify some filename exclusions if you need to prevent this. + +dit(bf(--detect-renamed)) With this option, for each new source file +(call it em(src/S)), rsync looks for a file em(dest/D) anywhere in the +destination that passes the quick check with em(src/S). If such a em(dest/D) +is found, rsync uses it as an alternate basis for transferring em(S). The +idea is that if em(src/S) was renamed from em(src/D) (as opposed to em(src/S) +passing the quick check with em(dest/D) by coincidence), the delta-transfer +algorithm will find that all the data matches between em(src/S) and em(dest/D), +and the transfer will be really fast. + +By default, alternate-basis files are hard-linked into a directory named +".~tmp~" in each file's destination directory, but if you've specified +the bf(--partial-dir) option, that directory will be used instead. These +potential alternate-basis files will be removed as the transfer progresses. +This option conflicts with bf(--inplace) and bf(--append). dit(bf(--compare-dest=DIR)) This option instructs rsync to use em(DIR) on the destination machine as an additional hierarchy to compare destination