Using robocopy (version 10.0.10586.0) on Windows 10 to copy files from one drive to another using the following command:
ROBOCOPY c:\src D:\dest /MIR /COPY:DT /DCOPY:T /XJ /XF Thumbs.db /XD "$RECYCLE.BIN" "System Volume Information" /MT:32 /R:0 /W:0 /V /TEE /LOG:robocopy-log.txt
The xf switch is supposed to exclude the following file. However for some reason it seems to ignore this and proceeds to choke (i.e. take a long time) on the Thumbs.db files and still seems to try to copy them. Progress seems to get to about 30% of a given Thumbs.db file and the log output says "named" instead of "new file" for the thumbs.db.
As a workaround I deleted all the Thumbs.db in the source but ideally I wouldn't have to do that.
del /ah /s Thumbs.db