Robocopy Copy Flags?
I just recently made an answer here http://stackoverflow.com/a/15211788/891976 where I suggested using robocopy and its /copy flags, but for some as of yet unknown reason, the /copy flags are being ignored.
This was originally noted by dbenham, but I too have confirmed that when I specified the /copy:DA flag, robocopy just ignored it and did a full DAT copy.
Script
@echo off
robocopy Tools Tolls /COPY:DA /S /IS
pause >nul
Output
------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
------------------------------------------------------------------------------
Started : Mon Mar 04 16:59:43 2013
Source : C:\Users\Username\Desktop\Tools\
Dest : C:\Users\Username\Desktop\Tolls\
Files : *.*
Options : *.* /S /COPY:DAT /IS /R:1000000 /W:30
------------------------------------------------------------------------------
New Dir 5 C:\Users\Username\Desktop\Tools\
100% New File 825 Connect.bat
100% New File 424 DevSpec.bat
100% New File 215 Disconnect.bat
100% New File 69599 Shortcuts.zip
100% New File 28.8 m Tools.zip
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 1 0 0 0 0
Files : 5 5 0 0 0 0
Bytes : 28.87 m 28.87 m 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Speed : 150632582 Bytes/sec.
Speed : 8619.265 MegaBytes/min.
Ended : Mon Mar 04 16:59:43 2013
/copyflags. – David Ruhmann Mar 4 at 23:17DAoption for theDCOPYbut not theCOPY. That is a very inconsistent implementation, that has a need to be documented. – David Ruhmann Mar 5 at 2:52