Update Scripts/Batch/Robocopy.md
This commit is contained in:
		| @@ -5,9 +5,9 @@ Robocopy is a useful tool that can be leveraged to copy files and folders from o | ||||
|  | ||||
| An example of using Robocopy is below, with a full breakdown: | ||||
| ``` | ||||
| robocopy "E:\Share" "Z:\Share" /Z /B /R:5 /W:5 /MT:4 /COPYALL /E | ||||
| robocopy "E:\Source" "Z:\Destination" /Z /B /R:5 /W:5 /MT:4 /COPYALL /E | ||||
| ``` | ||||
| - `robocopy "source" "destination"` : The application itself | ||||
| - `robocopy "Source" "Destination"` : The application itself | ||||
| - `/Z` : If the network transfer is interrupted, it will resume when the network comes back online | ||||
| - `/B` : Backup Mode - This can be used to circumvent ACLs on folders and files, just forcing them to copy bypassing permissions | ||||
| - `R:5` : Number of times to retry copying the same file | ||||
| @@ -21,5 +21,5 @@ robocopy "E:\Share" "Z:\Share" /Z /B /R:5 /W:5 /MT:4 /COPYALL /E | ||||
|      | ||||
|     An adjusted example can be seen below to account for this usage.  **This example assumes you are running robocopy from the source computer**. | ||||
|     ``` | ||||
|     robocopy "E:\Share" "\\DESTINATION-SERVER\E$\Share" /Z /B /R:5 /W:5 /MT:4 /COPYALL /E | ||||
|     robocopy "E:\Source" "\\DESTINATION-SERVER\E$\Destination" /Z /B /R:5 /W:5 /MT:4 /COPYALL /E | ||||
|     ``` | ||||
		Reference in New Issue
	
	Block a user