Link to home
Start Free TrialLog in
Avatar of mickeyshelley1
mickeyshelley1Flag for United States of America

asked on

Modify Xcopy to copy only new files

I need to modify this xcopy to copy only new and changed files.
xcopy c:\mp3 M:\mp3 /s /y /h

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of AmazingTech
AmazingTech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mickeyshelley1

ASKER

Works Great thank you very much
Avatar of AmazingTech
AmazingTech

Yeah the /d option is awesome. Although Microsoft also has another program called ROBOCOPY which has quite a bit more switches.

I would sometimes use a /l to list the new files to a text file before running it again without the /l so I have a log of which files are newer.