https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
https://lazyadmin.nl/it/robocopy-ultimate-guide/
Robocopy is a [[Command-line Interface|command-line tool]] file transfer utility for [[Windows]]. It is functionally more comprehensive than the COPY and XCOPY commands, but replaces neither.^[https://en.wikipedia.org/wiki/Robocopy] The power of Robocopy is that it comes with tons of options/switches that you can use to fine-tune and optimize the copy action.^[https://lazyadmin.nl/it/robocopy-ultimate-guide/]
```PowerShell
robocopy "C:\Source\files\" "\\dest-server\files"
```
# Commands
## List/Test Mode
`/L` specifies that files are to be listed only (and not copied, deleted, or time stamped). This is safe to run without making any changes.
## Mirror
`/MIR` Mirror will make sure that the destination folder is completely the same as the source. However, if a file is deleted in the source then it will automatically be delete on the destination as well.