LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-18-2007, 03:46 AM   #1
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Rep: Reputation: 15
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
 
Old 04-18-2007, 07:59 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Rsync chantman Linux - Software 1 04-21-2006 06:13 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
rsync becks.lin Linux - Software 6 03-22-2004 07:45 PM
Rsync buttersoft Linux - Software 4 11-05-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 AM.

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