<?xml version="1.0" encoding="ISO-8859-1"?><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  <title>move</title>
 </head>
 <body bgcolor="#FFFFFF">
  <table border="0" width="100%">
   <tr>
    <td><font size="6"><strong>move</strong></font></td>
    <td align="right"><a href="mkdir_task.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="outofdate_task.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
  <hr size="1" />
  <div><a name="move_description"></a>
   		
   <h2>Description</h2>
   		
   <p>
    			Move a file or fileset to a new file or directory.
    		
   </p>
   	
  </div>
  <div><a name="move_parameters"></a>
   		
   <h2>Parameters</h2>
   
   		
   <dl>
    			
    <dt>file</dt>
    <dd><i>Description: </i>File to be moved
     <p><i>Domain: </i>Valid filename pointing to existing file
     </p>
     <p><i>Default: </i>-
     </p>
    </dd>
    
    			
    <dt>to_file</dt>
    <dd><i>Description: </i>File to move to
     <p><i>Domain: </i>Valid filename
     </p>
     <p><i>Default: </i>-
     </p>
    </dd>
    
    			
    <dt>to_directory</dt>
    <dd><i>Description: </i>Directory to which file(s) should be moved to
     <p><i>Domain: </i>Valid directoryname pointing to existing directory
     </p>
     <p><i>Default: </i>-
     </p>
    </dd>
    		
   </dl>
   	
  </div>
  <div><a name="move_specification"></a>
   		
   <h2>RNG Specification</h2>
   
   		<pre>
  &lt;define name="move"&gt;
    &lt;element name="move"&gt;
      &lt;ref name="dir_if_unless"/&gt;
      &lt;choice&gt;
        &lt;group&gt;
          &lt;attribute name="file"/&gt;
          &lt;attribute name="to_file"/&gt;
        &lt;/group&gt;
        &lt;group&gt;
          &lt;attribute name="file"/&gt;
          &lt;attribute name="to_directory"/&gt;
        &lt;/group&gt;
        &lt;group&gt;
          &lt;attribute name="to_directory"/&gt;
          &lt;ref name="fileset"/&gt;
        &lt;/group&gt;
      &lt;/choice&gt;
    &lt;/element&gt;
  &lt;/define&gt;

	</pre>
   	</div>
  <div><a name="move_examples"></a>
   		
   <h2>Examples</h2>
   	<pre>
  &lt;move file="readme.txt" to_file="readme1.txt"/&gt;

  &lt;move file="readme.txt" to_directory="/tmp"/&gt;

  &lt;move to_directory="/tmp"&gt;
    &lt;fileset dir="kernel" include="@(**/*.ge)"/&gt;
  &lt;/move&gt;

	</pre>
   	</div>
  <hr size="1" />
  <table border="0" width="100%">
   <tr>
    <td>
     <address><font size="2"><b>Copyright © 2002-2005, Sven Ehrke</b><br /><b>mailto:</b><a href="mailto:ericb@gobosoft.com">ericb@gobosoft.com</a><br /><b>http://</b><a href="http://www.gobosoft.com">www.gobosoft.com</a><br /><b>Last Updated: </b>7 July 2005</font></address>
    </td>
    <td align="right" valign="top"><a href="http://www.gobosoft.com"><img src="image/home.gif" alt="Home" border="0" /></a><a href="overview.html"><img src="image/toc.gif" alt="Toc" border="0" /></a><a href="mkdir_task.html"><img src="image/previous.gif" alt="Previous" border="0" /></a><a href="outofdate_task.html"><img src="image/next.gif" alt="Next" border="0" /></a></td>
   </tr>
  </table>
 </body>
</html>