backup_ramps 156 B

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