LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   rsync help (https://www.linuxquestions.org/questions/linux-general-1/rsync-help-546978/)

venki 04-18-2007 03:46 AM

rsync help
 
Hi all,

there are 2 systems, say 1 and 2.

so there are 2 home folders in 1 and 2..

say the contents in 1 are a,b
the contents in 2 are c,d.

i want to synchronize both 1 and 2 systems using rsync..

so the output of system 1 is --a,b,c,d..
the o/p of system 2 is also a,b,c,d.

plz help me..and give me the bash script if possible!!

thks

trickykid 04-18-2007 07:59 AM

The way you ask your question is very confusing..

Let me get this straight..

You have two systems, both have two home directories, which are 1 and 2.

/home/1 has two directories or files called a and b
/home/2 has two directories or files called c and d

What exactly do you want to synchronize if both systems have both /home/1 and /home2 with a and b in 1 and c and d in 2?

Did you want both systems to have a, b, c and d in both /home/1 and /home/2? That's what it appears you want but I can't be sure since your question is confusing. Try to be a little more clear.


All times are GMT -5. The time now is 05:54 AM.