Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p><strong>Robocopy</strong>, <em>or "Robust File Copy", is a command-line directory replication command. It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was introduced as a standard feature of Windows Vista, Windows 7 and Windows Server 2008.</em> </p> </blockquote> <pre><code> robocopy c:\Sourcepath c:\Destpath /E /XC /XN /XO </code></pre> <p>To elaborate (using Hydrargyrum, HailGallaxar and Andy Schmidt answers):</p> <ul> <li><code>/E</code> makes Robocopy recursively copy subdirectories, including empty ones. </li> <li><code>/XC</code> excludes existing files with the same timestamp, but different file sizes. Robocopy normally overwrites those. </li> <li><code>/XN</code> excludes existing files newer than the copy in the destination directory. Robocopy normally overwrites those. </li> <li><code>/XO</code> excludes existing files older than the copy in the destination directory. Robocopy normally overwrites those.</li> </ul> <p>With the Changed, Older, and Newer classes excluded, Robocopy does exactly what the original poster wants - without needing to load a scripting environment.</p> <p>References: <a href="http://technet.microsoft.com/en-us/library/cc733145.aspx" rel="noreferrer">Technet</a>, <a href="http://en.wikipedia.org/wiki/Robocopy" rel="noreferrer">Wikipedia</a><br> Download from: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=17657" rel="noreferrer">Microsoft Download Link</a> <em>(Link last verified on Mar 30, 2016)</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload