Rsync Daemon Remote Pull

Chandrasekar Natarajan chandrusekar04 at gmail.com
Sat Jun 27 14:16:57 UTC 2020


Hi Wayne,

Thanks for your reply.

This is the command I am using now(a simple command) *rsync -vrcz --port
xxxx User at x.x.x.xx::Module1 '/cygdrive/d/test 123/'*
This is the exception 'Unexpected remote arg: User at x.x.x.x::Module1
rsync error: syntax or usage error (code 1) at main.c(1361) [sender=3.1.2]'

Config File:
use chroot = false
strict modes = false
hosts allow = *

port = 4783

[Module1]
path = /cygdrive/D/examples
comments = My Very Own Rsync Server
read only = true
list = true
transfer logging = yes

[Module2]
path = /cygdrive/c/rsync/examples
read only = true
trasnsfer logging = yes

Kindly help me to resolve this.

--
Chandra

On Sat, Jun 27, 2020 at 3:46 AM Wayne Davison <wayne at opencoder.net> wrote:

> On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote:
>
>> Unexpected remote arg: user at x.x.x.x:port/module
>>
>
> This means that your non-option args starts with a local arg, contains a
> remote arg somewhere in the middle, and ends with either a local or remote
> arg.  None of those are valid because all the source args must match in
> being either local or remote.
>
> So, you need to figure out where the local path comes from early in the
> command-line.  For instance, if you copied an "--option" that has some kind
> of unicode char instead of real dashes, it could look like an option but
> actually be parsed as a local arg.  Or you may have some kind of alias or
> script that is adding an arg early in your rsync command-line.  Be sure to
> check for shell aliases, popt aliases (the ~/.popt and /etc/popt files),
> and "rsync" scripts on your path.
>
> ..wayne..
>


-- 
Thanks,

*Chandrasekar N | (M) +91-9894875776*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20200627/a7f600b8/attachment.htm>


More information about the rsync mailing list