Skip to content

Instantly share code, notes, and snippets.

@akatakritos
Created September 25, 2017 17:01
Show Gist options
  • Save akatakritos/fa5bec5ae1ef5c237bd14e9a27cecd48 to your computer and use it in GitHub Desktop.
Save akatakritos/fa5bec5ae1ef5c237bd14e9a27cecd48 to your computer and use it in GitHub Desktop.
Simple robocopy backup script for archiving projects on an external drive
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