Hi Wayne, Thanks for your reply.
This is the command I am using now(a simple command) *rsync -vrcz --port xxxx u...@x.x.x.xx::Module1 '/cygdrive/d/test 123/'* This is the exception 'Unexpected remote arg: User@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 <wa...@opencoder.net> wrote: > On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote: > >> Unexpected remote arg: user@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*
-- 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