in reply to Re: Replication of directory subtreesin thread Replication of directory subtrees
if ($^O =~ /win32/i) { # do stuff with xcopy } else { # do stuff with cp -r } [download]