add burn_data.sh
This commit is contained in:
parent
3b908772cb
commit
0806448088
13
burn_data.sh
Normal file
13
burn_data.sh
Normal 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"
|
||||
Loading…
x
Reference in New Issue
Block a user