Hope this reply isn't naive, let me know if it is...
If the machines are all the same architecture check out tree-sync.pl in the CPAN administrative scripts section at http://www.perl.com/CPAN-local/scripts/CPAN/Administrative/index.html. It compares two directories recursively, prints out a
report and generates a batch file that can sync two trees.
Then maybe you could do something along the lines of this
perl treesync.pl /usr/local/lib/perl5/site_perl /mnt/prodn/usr/local/
+lib/perl5/site_perl
Maybe then, grok the command file for a reality check, then run it. | [reply] [d/l] |
I read the documentation on treesync.pl and a co-worker posed this question: How is it better than rdist? Are there benefits to using the Perl code over the built-in sync utility? BTW... we use *NIX here. Thanks
| [reply] |
How is it better than rdist?
Good question? It is written in Perl :-) but rdist users rlogin, and dupes the permissions which might be an easier to maintain solution. I note some other discussions here by fellow perlmonk corion mention rsync which could well be the way to go. This document summarizes the pro's and con's of rdisk v rsync. rsync seems to win hands down.
| [reply] |