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


in reply to Handling Hash Comparison

Take a look at rsync, which does what it seems you are trying to do. I don't know how well it works on Windows, though I expect it should work fine in Cygwin.