I can never remember xcopy’s flags, so I am creating a post for myself.
xcopy SourceDrivePath DestDrivePath /X /C /E /H /Y /D
/X Perms
/C continue on error
/E Recursive with empty folders
/H (hidden and system) Copy hidden and system files
/Y (yes) No Prompts
/D (date) SourceDate is newer then DestDate (incremental)
Comments are closed.