This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes rsync in linux to scp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "rsync in linux to scp" Watch "rsync in linux to scp" New topic

rsync in linux to scp

Rahul Dhaware

Joined: Aug 13, 2008
Posts: 22
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.


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

Joined: Aug 13, 2008
Posts: 22
Can any one please help me?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: rsync in linux to scp
jQuery in Action, 3rd edition