Re: Using rsync to synchronize

2012-04-05 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/04/2012 02:51 PM, Steven Levine wrote: > > Take a look at --existing and --update. Some combination of of > these will probably get you the result you want. It depends on > your definition of synchronize. > >> Neither, or both, of those optio

Re: Using rsync to synchronize

2012-04-04 Thread Steven Levine
In <4f7cf7e1.5070...@sohnen-moe.com>, on 04/04/12 at 06:39 PM, James Moe said: Hi James, Please reply to the list so that others may participate. > Neither, or both, of those options seem to meet my requirement. > --existing, "skip creating new files on receiver", appears to be >counterpro

Re: Using rsync to synchronize

2012-04-04 Thread Steven Levine
In <4f7caba1.3020...@sohnen-moe.com>, on 04/04/12 at 01:14 PM, James Moe said: Hi James, >rsync --recursive --links --times --dirs --stats --delete \ > --itemize-changes --quiet --exclude-from=exclude-filename \ > /data-store1/ /data-store2/ FWIW, --dirs is rundundant in the above. > Rec

Using rsync to synchronize

2012-04-04 Thread James Moe
\ /data-store1/ /data-store2/ Recently I have had the need to actually synchronize the files between two data stores. That is, whichever data store has the newest timestamp updates the other data store. What are some recommended ways for using rsync to synchronize two data stores? - -- James