Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: Re: Replication of directory subtrees

by eduardo (Curate)
on Apr 24, 2003 at 15:17 UTC ( #252928=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Replication of directory subtrees
in thread Replication of directory subtrees

well, in that case!

if ($^O =~ /win32/i) { # do stuff with xcopy } else { # do stuff with cp -r }
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.

Comment on Re: Re: Re: Replication of directory subtrees
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://252928]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-28 19:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls