Skip to content

Instantly share code, notes, and snippets.

@donniecode1983
Last active November 30, 2018 15:29
Show Gist options
  • Save donniecode1983/3e78c3f8973f19b773eb758c4fc54eac to your computer and use it in GitHub Desktop.
Save donniecode1983/3e78c3f8973f19b773eb758c4fc54eac to your computer and use it in GitHub Desktop.
Quick Robo Copy Mirror Script
Set-Variable -name sourceDir -value "\\location\of\source\directory\"
Set-Variable -name destDir -value "c:\location\of\destination\directory\"
robocopy $sourceDir $destDir /MIR /R:5 /W:10 /DCOPY:T /COPY:DATS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment