nix, shell, perl, php, mysql and mac os x tips and tricks

Monday, November 17, 2003

Burn a disc-at-once CD from the command line

First create a .toc file with reference to your wav's as such:
CD_DA

TRACK AUDIO
AUDIOFILE "01.wav" 0

TRACK AUDIO
AUDIOFILE "02.wav" 0

TRACK AUDIO
AUDIOFILE "03.wav" 0

TRACK AUDIO
AUDIOFILE "04.wav" 0

then invoke cdrdao as such:
cdrdao write --driver generic-mmc cdtmpdir.toc

No comments:

Post a Comment