I'm trying to write a robocopy
command to copy from folders SR
to DS
.
Folder DS
might have files that already exist in Folder SR
, but if Folder DS
is updated, don't overwrite it. If folder/files don't exist in folder DS
, copy them, keep the same security permissions (shared and NTFS) and timestamp on the files/folders.
I've tried:
Robocopy Source Des /XN /E
The problem is it keeps overwriting the data and another problem is that I have a long pathname over 320 characters which robocopy
won't copy.
RoboCopy /?
– JW0914 Jan 23 '20 at 14:36