add burn_data.sh

This commit is contained in:
Zack Buhman 2025-12-13 17:42:19 -06:00
parent 3b908772cb
commit 0806448088

13
burn_data.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
filename="$1"
if [ -z "$filename" ]; then
echo "usage: ./$0 [filename]"
exit 1
fi
set -ex
cdrecord -speed=8 -v dev=/dev/sr0 -tao -multi -xa tdata01.iso
cdrecord -eject -overburn -speed=8 -v dev=/dev/sr0 -tao -xa "$filename"