Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-11-2007, 10:26 AM   #1
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:


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?


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 03:27 PM
how to use rsync to update date/time only coontie Linux - Software 2 05-15-2006 11:13 AM
Synchronize time kenneho Debian 11 01-21-2006 05:08 AM
synchronize time between linux and XP server taiwf Linux - General 1 11-03-2005 09:52 PM
synchronize linux domain time to workstation sunnyee Linux - Newbie 2 06-25-2004 04:37 AM

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration