Differential Xcopy parameters

I always forget what the correct options for the Windows xcopy command are when I simply want to synchronize one directory over another one. To do it well, you need to remember too many options. And robocopy is never installed when you need it.

Here it is:

xcopy /drychoke source destination

The options:

/d copy only changed files (or new files)
/r overwrite read-only files
/y say yes to prompts
/c don't stop on errors
/h copy hidden and system files
/o copy ownership and ACL information
/k copy attributes
/e be recursive, and even re-create empty directories

You may be able to store the string in your own long-time memory by thinking that it almost says “dry joke”. You may decide by yourself what that refers to ;-)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • LinkedIn
  • Technorati
  • Google

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image