Tuxicity's source

February 26, 2007

Cdrdao: copy your cd, and burn .bin- .cue (or .toc) files on the CLI.

Filed under: linux, Tuxicity — tuxicity @ 2:22 pm

Often bchunk is used to convert bin- cue files to iso’s before burning it to a cd.

Cdrdao makes this step obsolete with the command:

cdrdao write foo.cue

It burns the .cue .bin files for you, on any modern distro, to your cdwriter.
Usually this should do, but sometimes cdrdao cannot find the device.

To solve this, as root:

cdrdao scanbus

Lets say the result is:
0,0,0: IDE-CD, R/RW 8x4x32, 1.5

The command would be then :

cdrdao write –speed 8 –device 0,0,0 foo.cue

Other things you can do with cdrdao:
Copy an audio-cd to harddrive:

cdrdao read-cd foo.cue

this will make a foo.cue file and a data.bin file of the inserted cd in your harddrive.

Oh, and if you wish to blank your cdrw first ?

cdrdao blank

Sometimes things seem to be too easy

more application examples here.


  1. Where in you hard drive does the .bin file save?

    Comment by scott — March 22, 2007 @ 1:14 am

  2. Thank you, you saved me a lot of time.

    Comment by Mohammed Berdai — January 14, 2009 @ 8:41 pm

  3. Silly question but how do you burn a bin file to a dvd? I have a movie I want to burn to watch on the tv and this seems to fail unless I use a blank CD.

    Any ideas?

    Comment by Michael Sharman — January 18, 2009 @ 11:43 am

  4. Here I am in 2011 running Fedora 14. I was having problems with Brasero (go figure) and cdrdao with these steps worked perfectly, even using brasero’s .toc business and pointing to /dev/sr0. thanks.

    Comment by ballPointPenguin — February 7, 2011 @ 8:58 am

  5. Thanks for your helpful information. Once I have a data.bin file what can I do with that? Can I play it
    directly? Using what tool? Can I parse out individual songs?

    Comment by ron shenk — November 22, 2014 @ 10:15 pm

    • you can burn it with the toc to a cd-r. My cdrdao hates cd-rw.

      Comment by alex — May 30, 2019 @ 1:29 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: