Last active
November 30, 2018 15:29
-
-
Save donniecode1983/3e78c3f8973f19b773eb758c4fc54eac to your computer and use it in GitHub Desktop.
Quick Robo Copy Mirror Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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