<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I use File::Copy::Recursive, but it doesn't work fully.<br>
<br>
Are you safe from long (> 256 character) pathnames and files
containing non-ASCII characters? These are a nightmare on Windows
(possible, but with dirty tricks internally), and as far as I can
tell, Perl doesn't like them anyway. I am planning to make some Perl
patches to handle long/UTF-8 pathnames transparently on Windows. <br>
<br>
Apart from these issues, File::Copy::Recursive isn't bad. But it
isn't mirroring, I suppose. <br>
<br>
I did find that the Windows shell command (essentially what happens
when you drag a folder) is available in Win32::FileOp, and you might
find that worth exploring. I haven't looked into more sophisticated
mirroring options, but would be interested to hear anybody else's
experiences. <br>
<br>
--S<br>
<br>
<br>
On 10/5/2010 12:04 PM, J Z Tam wrote:
<blockquote cite="mid:93716.65259.qm@web57602.mail.re1.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">Just need to make
sure that one Windows Server subDirectory tree is exactly
the same as another server's subDirectory with the same
hierarchy and names.<br>
I'm thinking perhaps this is easier to automate in cygwin,
and forget about perl... but open to feedback.<br>
I can relax permissions and ACL's during the mirroring
process, and re-apply afterwards.<br>
Thoughts?<br>
/jordan<br>
</td>
</tr>
</tbody>
</table>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
toronto-pm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:toronto-pm@pm.org">toronto-pm@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/toronto-pm">http://mail.pm.org/mailman/listinfo/toronto-pm</a>
</pre>
</blockquote>
</body>
</html>