in reply to Re: Re: Replication of directory subtrees
in thread Replication of directory subtrees
well, in that case!
I am *not* advocating this solution... I just thought it would be cheesy way to do it. Please, for the love of anything you may or may not hold holy, use something like File::Find or File::NCopy instead like merlyn suggested.if ($^O =~ /win32/i) { # do stuff with xcopy } else { # do stuff with cp -r }
|
---|
In Section
Seekers of Perl Wisdom