Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rsync in linux to scp

 
Rahul Dhaware
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to rsync two folders which are on two different linux servers.
I want to rsync both folders on both way.

consider, i have on SRC server. on that there is a folder /home/username/src_folder
and there are 4-5 folders under /home/username/src_folder.
like

/home/username/src_folder
|
-->folder1/
|
-->folder2/
|
-->folder3/

On DEST server i have same folder structure as above.

Now if i have added any file like 'file2' in folder2 on SRC server then it should be automatically copied on folder2 of DEST server. same as vice-versa.

how can i do this?

Please help me.

Thanks advance.
 
Rahul Dhaware
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please help me?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic