LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-09-2009, 05:30 AM   #1
shellarchive
Member
 
Registered: Jan 2007
Posts: 50

Rep: Reputation: 15
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 ? ? ?
 
Old 11-10-2009, 12:48 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
man rsync:
Quote:
you either use a double colon :: instead of a single colon to separate the hostname from the path, or you use an rsync:// URL.
You are doing neither - so you get an SSH attempt.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to access windows files & folders from Enterprise Linux Server hnpat Linux - Newbie 4 09-23-2009 06:56 AM
Synchronising Linux time to Windows 2003 PDC dess Linux - General 8 09-19-2008 01:42 AM
Synchronising two copies of one lot of files oneandoneis2 Linux - General 2 07-05-2005 09:21 AM
Bad:monitoring performance parameters in 1000+ linux desktops &time synchronising shrikeiaf Linux - General 1 05-03-2005 01:03 PM
HSaring files between Linux & Windows jhachey Linux - Newbie 12 08-25-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration