http://www.perlmonks.org?node_id=970107


in reply to Perlscript to sync two linux OSīs

I think Anon has a good point: you need to be really careful about this. There are a lot of things that might break very badly with this unless you can guarantee that You may be better off comparing the output from whatever system management you're using (dpkg, rpm, etc.) to a "standard setup" file on each machine; it can check itself and update as appropriate.