Hi - rsync newbie here.
I have a situation where I have multiple instances of CMS website code
living in the same root directory and having parallel dir structures, so
something like this:
/my_code/root_dir/instance_1
/my_code/root_dir/instance_2
/my_code/root_dir/instance_3
each instance_n has the same directory structure and owns the same files for
the most part with small isolated customer additions (image files, etc.).
I'd like to sync all instances from an updated version of the code, say,
/my_code/source_code/latest_instance. My initial thought was to do
something like this:
rsync -v /my_code/source_code/latest_instance/ /my_code/root_dir/*/
but this, of course, doesn't work.
One other wrinkle is that we would like to be able to add additional
instances to the root_dir and have them be automatically sync'd up too.
Is there a way to solve this with rsync?
Thanks in advance.
--
View this message in context:
http://www.nabble.com/syncing-multiple-instances-of-code-in-same-tree-tp15988331p15988331.html
Sent from the Samba - rsync mailing list archive at Nabble.com.