LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-11-2007, 11:26 AM   #1
pericop
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
rsync to synchronize by time or size


I am trying to use rsync to synchronize by time or size, like this:

SERVER A and SERVER B.

Files modified in server A should be modified in SERVER B only one dir.
In another dir files modified or created in SERVER B should be created or update in server A. All process over SSH

I am trying with something like this but do not work.
rsync -av --rsh="ssh -l user" user@remote-machine::remote_dir/dir /local_dir/dir

It's possible?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync size discrepency kav Linux - Software 11 11-15-2006 04:27 PM
how to use rsync to update date/time only coontie Linux - Software 2 05-15-2006 12:13 PM
Synchronize time kenneho Debian 11 01-21-2006 06:08 AM
synchronize time between linux and XP server taiwf Linux - General 1 11-03-2005 10:52 PM
synchronize linux domain time to workstation sunnyee Linux - Newbie 2 06-25-2004 05:37 AM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration