Copy only changed files with xcopy /D
The built-in differential copy: /D:MM-DD-YYYY copies files changed on or after a date, or just newer than the destination.
01Command
$ xcopy C:\Proj\* D:\Backup\Proj\ /S /D:09-01-2026 /Y02What it does
/D with no date compares timestamps and copies only files newer than their destination counterparts — rerunning the same command becomes an incremental backup for free. The date format follows your system locale (MM-DD-YYYY on US English systems), which is the classic gotcha. Add /C to continue past errors and /I to assume destination is a directory.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- xcopy | Microsoft LearnEvidence: Microsoft documents /D[:MM-DD-YYYY] to copy files changed on or after that date, /S for subdirectories, and /Y to suppress overwrite confirmation.
- XCOPY - Windows CMDEvidence: SS64 lists /D:m-d-y as copying files changed on or after the specified date, and /D alone as copying only newer files than the destination.
Last verified: 2026-09-17 · Category: Files & Folders
06Related solutions
Diagnose NTFS file system errors and bad sectors on any volume — including the system drive while Windows is running — before committing to a repair.
Robocopy is Windows' built-in robust file copier: use /MIR to keep a destination folder as an exact one-way mirror of a source, resumable and restartable.
Two-step command sequence that makes you the owner of a locked file tree and grants yourself full control — the standard fix for 'Access is denied' on old profiles and OS reinstall leftovers.