Web lists-archives.com

Re: Seeing with comprehension - was [ rsync error -- "Protocol incompatibility" Why?]

On 05/28/2018 12:57 PM, Dan Purgert wrote:
Richard Owlett wrote:
Question 1
Question 2.
When it ran I happened to be sitting by the display and noticed things
of the form:

             963 100%    2.32kB/s    0:00:00 (xfr#88022, to-chk=21/128033)
var/spool/mail -> ../mail
               9 100%    0.02kB/s    0:00:00 (xfr#88023, to-chk=14/128033)

Do the lines not followed by statistics just mean "0 length files" or
"it's just a link"?

You mean like "var/mail/" having nothing, and
"var/spool/anacron/cron.daily" having 9 100% [...]

The former is a directory (and unchanged).  The latter is a file that
(appears to have) had a 9 byte update.

At the end it said:

* Number of files: 128,033 (reg: 88,026, dir: 7,503, link: 32,466, dev:
37, special: 1)*
*  Number of created files: 127,995 (reg: 88,026, dir: 7,503, link:
32,466)*> Number of deleted files: 0
* sent 2,845,135,440 bytes  received 1,819,035 bytes  2,837,024.89
bytes/sec *

The high-lited lines caught my attention.
I take the first two seem just to report that rsync is copying

Yep, pretty much it's:

Line 1 -> 128,033 files on the side initiating the sync
Line 2 -> 127,995 files needed to be created / updated

I don't understand what the third is telling me when there is a
difference between bytes sent and received. I assume it is benign as the
was no error reported.

IIRC it's bytes we sent to the other end, and bytes the other end sent
back to us (ACKs, other stuff).  I've got a big guide on rsync around
here somewhere, will send a link if I dig it up.

I suspected as much.
Links enthusiastically recieved :}