rsync advanced question

Issues related to applications and software problems
Post Reply
Sven_VD
Posts: 11
Joined: 2014/07/08 14:05:24

rsync advanced question

Post by Sven_VD » 2018/06/18 17:53:12

Dear,

On the remote end of an rsync session over ssh I could capture the output via SSH_ORIGINAL_COMMAND var

-server -vlogDtpXre.iLsfxC --delete --force --ignore-errors . /test

Now my question is

What are the option after the . : "iLsfxC" , I tested and they don't seem to be active so it aren't defaults. But what are they used for then.

THanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: rsync advanced question

Post by TrevorH » 2018/06/18 18:50:48

They all appear to be listed in man rsync
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Sven_VD
Posts: 11
Joined: 2014/07/08 14:05:24

Re: rsync advanced question

Post by Sven_VD » 2018/06/18 20:18:39

Hi,

Thanks
I know that they are listed in the man page, the question is why are they there. I only set the options before the dot. I did not specify the option after the dot, for example I never specified -C. After some testing it also appears -C is not active either. So my question is what are the options after the dot for.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: rsync advanced question

Post by avij » 2018/06/18 20:47:37

Those options are automatically set by the calling rsync to configure the rsync binary at the other end to behave appropriately. This is how rsync works "under the hood". I would not pay too much attention to details like this as long as everything works. And if something does not work, the reason is probably not these hidden parameters.

Is there some problem you are trying to diagnose, or is this only for your academic interest?

Sven_VD
Posts: 11
Joined: 2014/07/08 14:05:24

Re: rsync advanced question

Post by Sven_VD » 2018/06/18 20:51:32

Hi Thanks for your reply,

This is for my academic interest as I first searched for one hour how to disable some of those options after an rsync update which added C and x (3.0 to 3.1), realizing it could not be done and after a while realizing it didn't matter because those options are not in effect or have a different meaning than the options in the manpage.

I noticed it because I have a remote sudoers config that only allows certain rsync commands

Post Reply