<?xml version="1.0" encoding="windows-1252"?>
<node id="996921" title="Re: How do I copy an empty directory?" created="2012-10-02 17:15:08" updated="2012-10-02 17:15:08">
<type id="11">
note</type>
<author id="861371">
kcott</author>
<data>
<field name="doctext">
&lt;p&gt;
Have you tried [http://perldoc.perl.org/File/Copy.html|File::Copy]?
&lt;/p&gt;
&lt;p&gt;
Your node title has &lt;em&gt;"How do I copy ..."&lt;/em&gt;; your node content has &lt;em&gt;"How can I move ..."&lt;/em&gt;. &lt;c&gt;File::Copy&lt;/c&gt; has functions for both operations.
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;
It appears I was wrong about the &lt;c&gt;copy()&lt;/c&gt; part; although, &lt;c&gt;move()&lt;/c&gt; seems to work fine. See discussion below.
&lt;/p&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-861371"&gt;
&lt;p&gt;-- Ken&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
996906</field>
<field name="parent_node">
996906</field>
</data>
</node>
