#!/bin/sh # # burnaudiocd.sh: script to burn audio CD's # # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html # # choose a relatively low speed like 4 for burning audio CD's SPEED="6" # point this to your CD burner device name BURNER="/dev/acd0c" #///////////////////////////////////////////////////////# # You probably don't have to edit stuff after this line # #///////////////////////////////////////////////////////# echo "This script burns all .raw files in the current directory to CD" echo "Using burning device: ${BURNER}" echo "Using speed: ${SPEED}" echo echo "*** Make sure there is an empty cd-r in the drive!" echo "Press [Return] or [ENTER] to start burning, or [CTRL+C] to cancel" echo read ANYKEY for x in *.raw; do burncd -f ${BURNER} -s ${SPEED} audio "$x" sleep 3 done burncd -f ${BURNER} -s ${SPEED} -e fixate