<p>The situation: I have a pieceofcrapuous laptop. One of the things that make it pieceofcrapuous is that the battery is dead, and the power cable pulls out of the back with little effort.</p>

<p>I recently received a non-pieceofcrapuous laptop, and I am in the process of copying everything from old to new. I'm trying to xcopy c:*.* from the old machine to an external hard drive, but because the cord pulls out so frequently, the xcopy is interrupted fairly often.</p>

<p>What I need is a switch in XCopy that will copy eveything except for files that already exist in the destination folder -- the exact opposite of the behavior of the /U switch. </p>

<p>Does anyone know of a way to do this? </p>

[{'answer_id': 58700, 'author': 'Edward Wilde', 'author_id': 5182, 'author_profile': 'https://Stackoverflow.com/users/5182', 'pm_score': 4, 'selected': False, 'text': '<p>I find RoboCopy is a good alternative to xcopy. It supports high latency connections much better and supports resuming a copy.</p>\n\n<h3>References</h3>\n\n<p><a href="http://en.wikipedia.org/wiki/Robocopy" rel="noreferrer">Wikipedia - robocopy</a></p>\n\n<h3>Downloads</h3>\n\n<p><strong>Edit</strong> Robocopy was introduced as a standard feature of Windows Vista and Windows Server 2008.</p>\n\n<ul>\n<li><p>Robocopy is shipped as part of the Windows Server 2003 resource kit and can be download from the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;displaylang=en" rel="noreferrer">Microsoft download site</a>.</p></li>\n<li><p>A very simple GUI has also been release for RoboCopy on technet <a href="http://technet.microsoft.com/en-us/magazine/cc160891.aspx" rel="noreferrer">http://technet.microsoft.com/en-us/magazine/cc160891.aspx</a></p></li>\n</ul>\n'}, {'answer_id': 58708, 'author': 'Raynet', 'author_id': 4294, 'author_profile': 'https://Stackoverflow.com/users/4294', 'pm_score': 0, 'selected': False, 'text': '<p>I would suggest using <a href="http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html" rel="nofollow noreferrer">rsync</a>, several ports are available, but <a href="http://www.itefix.no/i2/node/10650" rel="nofollow noreferrer">cwrsync</a> seems to work nicely on Windows.</p>\n'}, {'answer_id': 58714, 'author': 'David Webb', 'author_id': 3171, 'author_profile': 'https://Stackoverflow.com/users/3171', 'pm_score': 2, 'selected': False, 'text': '<p>I\'m a big fan of <a href="http://www.codesector.com/teracopy.php" rel="nofollow noreferrer">TeraCopy</a>.  </p>\n'}, {'answer_id': 58715, 'author': 'Swaroop C H', 'author_id': 4869, 'author_profile': 'https://Stackoverflow.com/users/4869', 'pm_score': 0, 'selected': False, 'text': '<p>How about <a href="http://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow noreferrer">unison</a>?</p>\n'}, {'answer_id': 58729, 'author': 'Fionnuala', 'author_id': 2548, 'author_profile': 'https://Stackoverflow.com/users/2548', 'pm_score': 4, 'selected': True, 'text': '<p>/D may be what you are looking for. I find it works quite fast for backing-up as existing files are not copied.</p>\n\n<pre><code>xcopy "O:\\*.*" N:\\Whatever /C /D /S /H \n\n/C Continues copying even if errors occur. \n/D:m-d-y Copies files changed on or after the specified date. \n    If no date is given, copies only those files whose source time \n    is newer than the destination time. \n/S Copies directories and subdirectories except empty ones. \n/H Copies hidden and system files also. \n</code></pre>\n\n<p>More information: <a href="http://www.computerhope.com/xcopyhlp.htm" rel="noreferrer">http://www.computerhope.com/xcopyhlp.htm</a></p>\n'}, {'answer_id': 58799, 'author': 'Tall Jeff', 'author_id': 1553, 'author_profile': 'https://Stackoverflow.com/users/1553', 'pm_score': 2, 'selected': False, 'text': '<p>It was not clear if you only wanted a command line tool, but Microsoft\'s free <a href="http://en.wikipedia.org/wiki/SyncToy" rel="nofollow noreferrer">SyncToy</a> program is great for maintaining a replication between a pair of volumes. It supports pushing changes in either or both directions. That is, it support several different types of replication modes.</p>\n'}, {'answer_id': 3719487, 'author': 'Christopher Horenstein', 'author_id': 332815, 'author_profile': 'https://Stackoverflow.com/users/332815', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.scootersoftware.com/index.php" rel="nofollow noreferrer">Beyond Compare 3</a> is the best utility I\'ve seen for things like this. It makes everything really easy to assess, and really easy to manipulate.</p>\n'}, {'answer_id': 5280698, 'author': 'Loren', 'author_id': 656316, 'author_profile': 'https://Stackoverflow.com/users/656316', 'pm_score': 1, 'selected': False, 'text': '<p>XcopyGUI. A small, standalone GUI front-end for xcopy. Free. <a href="http://lorenstuff.weebly.com/" rel="nofollow">http://lorenstuff.weebly.com/</a></p>\n'}, {'answer_id': 10194265, 'author': 'rud3y', 'author_id': 1010904, 'author_profile': 'https://Stackoverflow.com/users/1010904', 'pm_score': 1, 'selected': False, 'text': '<pre><code>robocopy c:\\sourceDirectory\\*.* d:\\destinationDirectory\\*.* /R:5 /W:3 /Z /XX /TEE\n</code></pre>\n\n<p>This will work for your alternative to xCopy... best method imho</p>\n\n<p>Good luck!</p>\n'}]
['https://Stackoverflow.com/questions/58697', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2757/']