LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to burn audio cd from command line (https://www.linuxquestions.org/questions/linux-software-2/how-to-burn-audio-cd-from-command-line-59849/)

rip 05-14-2003 08:37 PM

how to burn audio cd from command line
 
Hello all.
I am looking for a way to copy an audio cd using my cd burner as the input and output device. And I would like to do it command line.

Already played with xcdroast and koncd. These are ok I guess if you want to pick and choose tracks. But I only want to make copies of my audio cd's, not make custom cd's. I have some hard-to-find cd's, some imports ($$$) and some out-of-print (is that the correct term?). I would like to put these in a safe place, and use a copy for everyday use.

Anyone have a suggestion?

born4linux 05-14-2003 09:28 PM

ok. looks like u know about cdrdao. u can try checking the ocnfiguration of xcdroast and koncd as there are just gui frontends for the CLI tools (cdrdao, cdrecord, cdparanoia, etc.). they should provide u the syntax u need.

fancypiper 05-14-2003 11:56 PM

# CD burning info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
# Burn an ISO to disk
cdrecord -v speed=5 dev=0,0,0 /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=0,0,0 speed=5 -isosize /dev/cdrom
# Generate an ISO from a directory.
mkisofs -Jr -o foo.iso /path/to/directory
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=5 dev=0,0,0 /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=0,0,0 speed=5 blank=fast


All times are GMT -5. The time now is 11:03 PM.