#!/bin/bash DISK_ID=usb-RPI_RP2350_6F361FE334DD320F-0 TARGET=sint-gauntlet.uf2 cd ./build cmake .. make -j sudo mount "/dev/disk/by-id/$DISK_ID:0-part1" /mnt sudo cp $TARGET /mnt sync