0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 07:29:33 +00:00
MarlinFirmware/buildroot/bin/backup_ramps
2019-07-11 02:32:24 -05:00

7 lines
156 B
Bash
Executable file

#!/usr/bin/env bash
PINS="Marlin/src/pins"
RAMPS="$PINS/ramps/pins_RAMPS.h"
BKUP="$PINS/ramps/pins_RAMPS.backup.h"
[[ -f $RAMPS ]] && cp "$RAMPS" "$BKUP"