Search code examples
backupxcopy

xcopy /d copy all files every time, even unchanged files


i try this command line

xcopy e:\myfolder /EXCLUDE:excludeList.txt \\192.168.158.15\public\comp\myfolder /E/I/D/R/H/Y

the command copy all files every time even unchanged files i use /d that suppose to copy just newer files.


Solution

  • a small test shows it does work. you must have other problem ...

    enter image description here

    edit

    in netwoek enviroment - you should add /z

    enter image description here