My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

env_backup 414B

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