Displaying 1 result from an estimated 1 matches for "latest_instance".
2008 Mar 11
1
syncing multiple instances of code in same tree
...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...