title: Use Robocopy to copy only changed files?
body: <p>I'm trying to find an easy way of deploying only changed files to the webserver for deployment purpose.  In times past I've used MSBuild, which could be told to only copy files that were newer than the ones on the target, but I'm in a hurry and don't want to try to figure out the newer version of MSBuild.  </p>
  
  <p>Can I use ROBOCOPY for this?  There is a list of options for exclusion, which is:</p>
  
  <ul>
  <li><code>/XC</code> :: eXclude Changed files.</li>
  <li><code>/XN</code> :: eXclude Newer files.</li>
  <li><code>/XO</code> :: eXclude Older files.</li>
  <li><code>/XX</code> :: eXclude eXtra files and directories.</li>
  <li><code>/XL</code> :: eXclude Lonely files and directories.</li>
  </ul>
  
  <p>What exactly does it mean to exclude?  Exclude copying, or exclude overwriting?  For example, if I wrote:</p>
  
  <pre><code>ROBOCOPY C:\SourceFolder\ABC.dll D:\DestinationFolder /XO
  </code></pre>
  
  <p>would this copy only newer files, not files of the same age?</p>
  
  <p>Or is there a better tool to do this?</p>