Bug 11489 - --update --size-only ignored when syncing / dump copies everything
--update --size-only ignored when syncing / dump copies everything
Product: rsync
Classification: Unclassified
Component: core
x64 All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-09-03 08:29 UTC by renegat
Modified: 2015-09-13 23:45 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description renegat 2015-09-03 08:29:57 UTC
Package: rsync 3.1.1-4
Architecture: x86_64 GNU/Linux

What it isn't doing:
When trying to sync two mounted identical structured folders on two hosts using
rsync -vhtru "/path/folder" "user@"
works as expected but
rsync -vhtru "/path/folder/" "user@"
dump copies everything - even with -u and --size-only given!

What it should be doing:
According to man pages

rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo

should do the same
Comment 1 Wayne Davison 2015-09-13 23:45:25 UTC
I know of no such bug.  I would suggest that you use the options --dry-run (-n) along with --itemize (-i) to see what is going on in your copying (e.g. if everything is copied as new files due to a path mismatch).  Also, feel free to ask questions on the mailing list if you need assistance.