In <[email protected]>, on 04/04/12
   at 01:14 PM, James Moe <[email protected]> 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.

>  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.

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.

Regards,

Steven

-- 
----------------------------------------------------------------------
"Steven Levine" <[email protected]>  eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to