My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314
  1. #!/usr/bin/env bash
  2. [ -z "$1" ] || cd $1
  3. if [ -d ".test" ]; then
  4. printf "\033[0;31mEnvironment backup already exists!\033[0m\n"
  5. else
  6. mkdir .test
  7. cp Marlin/Configuration*.h .test/
  8. [ -f Marlin/_Bootscreen.h ] && cp Marlin/_Bootscreen.h .test/
  9. [ -f Marlin/_Statusscreen.h ] && cp Marlin/_Statusscreen.h .test/
  10. cp -r Marlin/src/pins .test/pins
  11. printf "\033[0;32mEnvironment Backup created\033[0m\n"
  12. fi