Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to copy only new files from the source directory structure to the target directory structure.

I found that xcopy supports the /y switch to always overwrite and /-y to prompt. Is there a switch to not overwrite so I can copy only new files?

Thank you

share|improve this question
up vote 0 down vote accepted

xcopy's /D switch "copies only those files whose source time is newer than the destination time".

Read more about xcopy at TechNet.

share|improve this answer
Hmmm, maybe I could try – usr-local-ΕΨΗΕΛΩΝ Apr 8 '11 at 15:24

FastCopy can do it fast and with a GUI. (it support commandline also).

share|improve this answer
I'm not allowed to install any kind of software on the remote machine I'm working :( Thanks anyway – usr-local-ΕΨΗΕΛΩΝ Apr 8 '11 at 15:24
you don't need to install it, its portable. – eloyesp Apr 10 '11 at 21:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.