Direction (rsync manpage)
Matthias Schniedermeyer
ms at citd.de
Tue Apr 16 02:01:39 MDT 2013
On 15.04.2013 23:19, Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I hate to say it but I agree with you to an extent. Since rsync
> doesn't upload and download it is ridiculous to differentiate between
> the two. Also, since rsync allows either the source or target to be
> remote it could be doing either uploading or downloading but will
> never do both.
>
> Therefore rsync should never output both a > and a < within the same
> outpout. Therefore, it is really using a symbol for "I transmitted a
> file". The fact that it uses an arrow-looking symbol for that is not
> really important. The fact that it can use 2 different chars for that
> notation is also not really relevant since it would never use both of
> them in the same session.
>
> So, The < and > chars mean "I uploaded" or "I downloaded" but if you
> replaced them both with the same "I transferred" char the output
> wouldn't change much.
I guess the origin lies in daemon-mode, there the transfer direction
can be different in different calls.
That would also explain why the symbols are "switched", the transfer
direction fromt he view of the server-side is the exact opposite of the
client-side.
> On 04/15/13 23:10, Plato wrote:
> > Hello,
> >
> > In the rsync manpage I read: A < means that a file is being
> > transferred to the remote host (sent). and A > means that a file is
> > being transferred to the local host (received). In my experience it
> > is just the other way around: A ">" means form source, the local
> > host, to destination, the remote host. Also being transferred to
> > the remote host / ohter harddisk / destination field DEST or am I
> > missing something?
> >
>
> - --
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> Kevin Korb Phone: (407) 252-6853
> Systems Administrator Internet:
> FutureQuest, Inc. Kevin at FutureQuest.net (work)
> Orlando, Florida kmk at sanitarium.net (personal)
> Web page: http://www.sanitarium.net/
> PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlFsw1YACgkQVKC1jlbQAQeK/QCg9pR/RRdzvWhCeCfFc/oeZL4H
> hYMAnReQ0x31Ls3Hdo5JTVyKe5NbwOkP
> =UjJw
> -----END PGP SIGNATURE-----
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--
Matthias
More information about the rsync
mailing list