problem synchronising files with linux & windows
i am trying to synchronise my linux folder with shared windows folder.
i have installed cwrsyncserver & openssh on windows machine.
i am able to synchronise from windows machine by running command
rsync --avz -e ssh /cygdrive/c/shared root@10.48.13.145:/root/new/
where /cygdrive/c/shared is of windows machine & 10.48.13.145 is remote linux machine.
but when i try to run rsync from linux machine
" rsync Administrator@10.48.13.160:/cygdrive/c/shared/ /root/new/"
i am getting error
rsync Administrator@10.48.13.160:/cygdrive/c/shared/ /root/new/
Administrator@10.48.13.160's password:
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Cwrsyncserver is successfully on windows machine as service with openssh."
any help ? ? ?
|