mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
- Got rid of caveat about -H not working with incremental recursion.
- Talk about how inc_recurse affects -H. - Mention --no-inc-recursive and --no-ir options.
This commit is contained in:
1 parent
29349024c4
commit
ba2d43d702
1 file changed
+11
-4
@@ -571,19 +571,21 @@ Beginning with rsync 3.0.0, the recursive algorithm used is now an
|
||||
incremental scan that uses much less memory than before and begins the
|
||||
transfer after the scanning of the first few directories have been
|
||||
completed. This incremental scan only affects our recursion algorithm, and
|
||||
does not change a non-recursive transfer.
|
||||
It is also only possible when both ends of the
|
||||
transfer are at least version 3.0.0.
|
||||
does not change a non-recursive transfer. It is also only possible when
|
||||
both ends of the transfer are at least version 3.0.0.
|
||||
|
||||
Some options require rsync to know the full file list, so these options
|
||||
disable the incremental recursion mode. These include: bf(--delete-before),
|
||||
bf(--delete-after), bf(--prune-empty-dirs), bf(--delay-updates), and bf(--hard-links).
|
||||
bf(--delete-after), bf(--prune-empty-dirs), and bf(--delay-updates).
|
||||
Because of this, the default delete mode when you specify bf(--delete) is now
|
||||
bf(--delete-during) when both ends of the connection are at least 3.0.0
|
||||
(use bf(--del) or bf(--delete-during) to request this improved deletion mode
|
||||
explicitly). See also the bf(--delete-delay) option that is a better choice
|
||||
than using bf(--delete-after).
|
||||
|
||||
Incremental recursion can be disabled using the bf(--no-inc-recursive)
|
||||
option or its shorter bf(--no-ir) alias.
|
||||
|
||||
dit(bf(-R, --relative)) Use relative paths. This means that the full path
|
||||
names specified on the command line are sent to the server rather than
|
||||
just the last parts of the filenames. This is particularly useful when
|
||||
@@ -800,6 +802,11 @@ as though they were separate files.
|
||||
Note that rsync can only detect hard links if both parts of the link
|
||||
are in the list of files being sent.
|
||||
|
||||
If incremental recursion is active (see bf(--recursive)), rsync may transfer
|
||||
a missing hard-linked file before it finds that another link for the file
|
||||
exists elsewhere in the hierarchy. One way to avoid this is to disable
|
||||
incremental recursion using the bf(--no-ir) option.
|
||||
|
||||
dit(bf(-p, --perms)) This option causes the receiving rsync to set the
|
||||
destination permissions to be the same as the source permissions. (See
|
||||
also the bf(--chmod) option for a way to modify what rsync considers to
|
||||
|
||||
Reference in new issue
Block a user