Does Robocopy delete files?

Does Robocopy delete files?

Robcopy /MIR and /PURGE will not delete files from the source. They delete files only from the destination. Your log shows files and directories being deleted from the destination, because they no longer exist on the source. Perhaps something or someone inadvertently deleted those items from the source.

Where is Robocopy located?

Robocopy.exe is part of Microsoft Robocopy and developed by Microsoft according to the Robocopy.exe version information. Robocopy.exe is usually located in the ‘C:\\WINDOWS\\’ folder.

Does Robocopy Mir copy permissions?

You want to use the /MIR switch to mirror the permissions: Robocopy fails to mirror file permissions – but works for folder permissions. This behaviour is by design. Robocopy focuses on copying just files that have changed (in size or modified date, by default).