This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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