Using robocopy to correct date and time

robocopy

After using robocopy to copy files to a new drive I realized that all the files and directories creation times had been reset to the time of copying.
I now know that is standard for Microsoft.
I have seen threads on this site detailing how to avoid this using the correct tags with Robocopy in the future.

For now, however, can robocopy (for example - c:/src d:/dest /AT) be used to just update the attributes and creation date and time on the copied files?
It would save an incredible amount of time as opposed to recopying all of the data.

Best Answer

/copy:t should copy just the timestamps. Keep in mind, however, that if they are very small files that copying just the timestamps may take longer than copying the entire file.

    robocopy c:\src c:\dest /copy:T

robocopy /help says

/COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT).
                 (copyflags : D=Data, A=Attributes, T=Timestamps).
                 (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).