On Fri 03 Jun 2005, Bhadri N Govindarajan wrote:
> 
> I am using rsync to sync w machines. I had no problem untill. Now i am
> trying the same script  to sync 2 differnt machines.  The code is the
> same. I just changed the machine names.  When i execute the script i
> get
> 
> Variable syntax
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(150)
> 
> I am able to scp or ssh to the from the machines. I have proper keys. 
> 
> Where does the Variable syntax come from., I have 5 folders in include
> file. So this error is repeated 5 times.

"Variable syntax" is a csh error message telling you that the way you're
trying to use shell variables is wrong somehow.

> I tried 
> rsync -vv testfile mydestmachine:/export/opt/geneva/temp/testfile
> 
> even for this command i get the same error.

You typed this at the commandline, exactly as shown, and it gave you
this error? That's strange, as no variables are involved here.
'rsync' doesn't happen to be an alias, does it?


Paul Slootman
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to