I am trying to set up mirroring with robocopy to backup directories to micro-sd cards, as:
ROBOCOPY "C:\test" "E:\test" /MIR /COPY:DT /Z /W:5
This works fine for the most part except for PDF files for some reason, halting the process and returning the error:
2019/05/24 16:13:41 ERROR 87 (0x00000057) Changing File Attributes
C:\test\test.pdf
The parameter is incorrect.
Copying manually is not issue, both volumes (C: NTFS, and E: exFAT have been checked to be ok) and I have tried to circumvent it with all kinds of flags with not resolution. Does anyone have any ideas what the issue could be?
touchfromGit Bashto change the file datetime, or you can use any of the solutions at https://superuser.com/questions/10426/windows-equivalent-of-the-linux-command-touch/764716 – wisbucky Feb 07 '22 at 22:25