Created
September 25, 2017 17:01
-
-
Save akatakritos/fa5bec5ae1ef5c237bd14e9a27cecd48 to your computer and use it in GitHub Desktop.
Simple robocopy backup script for archiving projects on an external drive
This file contains 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 folder=%1 | |
echo "C:\projects\%folder%" | |
robocopy "C:\projects\%folder%" "E:\projects-archive\%folder%" /E /FFT /R:3 /W:10 /Z /NP /NDL /MT /XD node_modules /XD bower_components /XD packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment