- - Added the --partial-dir=DIR option that lets you specify where to
- (temporarily) put a partially transferred file (instead of over-
- writing the destination file). E.g. --partial-dir=.rsync-partial
-
- - Added --keep-dirlinks (-K), which allows you to symlink a directory
- onto another partition on the receiving side and have rsync treat it
- as matching a normal directory from the sender.
-
- - Added the --inplace option that tells rsync to write each destination
- file without using a temporary file. The matching of existing data
- in the destination file can be severely limited by this, but there
- are also cases where this is more efficient (such as appending data).
- Use only when needed (see the man page for more details).
-
- - Added the "write only" option for the daemon's config file.
-
- - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
- and documented all these options in the man page.
-
- - Improved the handling of the --bwlimit option so that it's less
- bursty, more accurate, and works properly over a larger range of
- values.
-
- - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
- SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
-
- - Added the --checksum-seed=N option for advanced users.
-
- - Batch writing/reading has a brand-new implementation that is simpler,
- fixes a few weird problems with the old code (such as no longer
- sprinkling the batch files into different dirs or even onto different
- systems), and is much less intrusive into the code (making it easier
- to maintain for the future). The new code generates just one data
- file instead of three, which makes it possible to read the batch via
- stdin over a remote shell. Also, the old requirement of forcing the
- same fixed checksum-seed for all batch processing has been removed.
-
- - If an rsync daemon has a module set with "list = no" (which hides its
- presence in the list of available modules), a user that fails to
- authenticate gets the same "unknown module" error that they would get
- if the module were actually unknown (while still logging the real
- error to the daemon's log file). This prevents fishing for module
- names.
-
- - The daemon's "refuse options" config item now allows you to match
- option names using wildcards and/or the single-letter option names.
-
- - The finished file now gets its permissions and modified-time updated
- before it gets moved into place.
+ - A new incremental-recursion algorithm is now used when rsync is talking
+ to another 3.0.0 version. This starts the transfer going more quickly
+ (before all the files have been found), and requires much less memory.
+ See the --recursive option in the manpage for some restrictions.
+
+ - The default --delete algorithm is now --delete-during when talking to a
+ 3.x rsync. This is a faster scan than using --delete-before (which is
+ the default when talking to older rsync versions), and is compatible
+ with the new incremental recursion mode.
+
+ - Added the --delete-delay option, which is a more efficient way to
+ delete files at the end of the transfer without needing a separate
+ delete pass.
+
+ - You may specify --max-delete=0 to a 3.0.0 client as long as the
+ receiving side is at least version 3.0.0. This means that you
+ can pull from an older rsync with this option, but pushing to an
+ older rsync will generate an error. *Be sure to never specify a 0
+ value to an older rsync client, or it will be silently ignored.*
+
+ - The --hard-link option now uses less memory on both the sending and
+ receiving side for all protocol versions. For protocol 30, the use
+ of a hashtable on the sending side allows us to more efficiently
+ convey to the receiver what files are linked together. This reduces
+ the amount of data sent over the socket by a considerable margin
+ (rather than adding more data), and limits the in-memory storage of
+ the device+inode information to just the sending side for the new
+ protocol 30, or to the receiving side when speaking an older protocol
+ (note that older rsync versions kept the device+inode information on
+ both sides).