Robocopy appears to be broken in windows 8. It flags a number of files as "modified" even when they are not. The "modified" seems to happen when a source file has been accessed. With a NTFS target the "modified" is satisfied; however, on Fat32 or apple file systems, it is never satisfied and will always appear on subsequence runs.
I use these settings in my CMD file.
/mir /r:0 /w:0 /xo /ndl /log+:%robocopytempfile% /tee
Has anyone found a work around yet?
The only solution I can find at this time is to run the robocopy located in the Win2003 Resource Kit.
I found it. It's the ARCHIVE attribute on the source files. On the new Robocopy, the presence of the "A" attribute seems to force the file to be copied. The problem is, Robocopy doesn't then reset the attribute.
And if you use /M (copy only "A" files, then reset "A"), any files without the "A" attribute set get ignored - even if they should have been copied because they don't exist on the target, etc. So that doesn't work.
The solution "appears" to be to reset the "A" attribute on the structure you want to copy BEFORE you do the copy. Then your script "should" work. (Mine did.) I used:
ATTRIB -A C:\MYDIR\*.* /D /S to clear the attributes. Then Robocopy started working.
Of course, going forward, modified files will get "A" set, and then Robocopy will start copying those files every time again, so what I did was to add the ATTRIB command AFTER the Robocopy command in my script. Run Robocopy, then reset "A"s. That "should" yield the desired result, I hope!