From: Greg Ercolano <erco@(email surpressed)>
Subject: [OSX/SYSADMIN] Command lines for burning CD / DVD under OSX
   Date: Mon, 22 May 2006 15:50:13 -0400
Msg# 1294
View Complete Thread (4 articles) | All Threads
Last Next
Here are some useful commands for burning DVDs/CDs from the OSX command line.

To burn a DVD (I just made one today), I don't think one could ask for clearer syntax:

        drutil burn /var/tmp/foo.iso      # Burns an ISO image to DVD

You can also open and close the CD tray from the OSX command line
with that same tool:

        drutil eject            # Eject the CD
        drutil tray close       # Close the CD tray

As nice as the Finder GUI is at burning CDs/DVDs, I prefer the command line
because it's just more predictable and easier to automate.

Also, my Finder often crashes/hangs with the spinning beachball 'o death
when trying to work with DVDs (Tiger 10.4.6, dual G5 with DVD R/W).
I don't get these problems from the command line.

   From: "David Green" <david@(email surpressed)>
Subject: Re: [OSX/SYSADMIN] Command lines for burning CD / DVD under OSX
   Date: Mon, 22 May 2006 16:58:56 -0400
Msg# 1296
View Complete Thread (4 articles) | All Threads
Last Next
Hey Greg,

This is great.  This will also be good to burn a bunch of CD's at the same
time on the farm :)

Thanks for the tip!

David

On 22 May 2006 19:50:13 -0000, Greg Ercolano <erco@(email surpressed)> wrote:
>
> [posted to rush.general]
>
> Here are some useful commands for burning DVDs/CDs from the OSX command
> line.
>
> To burn a DVD (I just made one today), I don't think one could ask for
> clearer syntax:
>
>          drutil burn /var/tmp/foo.iso      # Burns an ISO image to DVD
>
> You can also open and close the CD tray from the OSX command line
> with that same tool:
>
>          drutil eject            # Eject the CD
>          drutil tray close       # Close the CD tray
>
> As nice as the Finder GUI is at burning CDs/DVDs, I prefer the command
> line
> because it's just more predictable and easier to automate.
>
> Also, my Finder often crashes/hangs with the spinning beachball 'o death
> when trying to work with DVDs (Tiger 10.4.6, dual G5 with DVD R/W).
> I don't get these problems from the command line.
>

   From: Mathieu Xavier Mauser <mathieuxaviermauser@(email surpressed)>
Subject: Re: [OSX/SYSADMIN] Command lines for burning CD / DVD under OSX
   Date: Mon, 05 Jun 2006 19:07:20 -0400
Msg# 1303
View Complete Thread (4 articles) | All Threads
Last Next
On 2006-05-22 12:50:13 -0700, Greg Ercolano <erco@(email surpressed)> said:

Here are some useful commands for burning DVDs/CDs from the OSX command line.

To burn a DVD (I just made one today), I don't think one could ask for clearer syntax:

         drutil burn /var/tmp/foo.iso      # Burns an ISO image to DVD



I've been using "hdiutil" for years (?) to do this.

e.g. hdiutil burn foo.dmg

hdiutil also makes disk images from folders and converts DMGs to ISO.

e.g. hdiutil create -srcfolder Sites sites.dmg

I thought drutil was new to 10.4, but the manpage says it's been around since 10.3. Fun.

I agree that burning is easier with Terminal, and hdiutil is your friend.

:)

Mat X
VFX Sys Admin






   From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: [OSX/SYSADMIN] Command lines for burning CD / DVD under OSX
   Date: Mon, 05 Jun 2006 21:06:55 -0400
Msg# 1306
View Complete Thread (4 articles) | All Threads
Last Next
Mathieu Xavier Mauser wrote:
I've been using "hdiutil" for years (?) to do this.
e.g. hdiutil burn foo.dmg

hdiutil also makes disk images from folders and converts DMGs to ISO.

e.g. hdiutil create -srcfolder Sites sites.dmg

	Huh, yeah, looks like drutil and hdiutil are very similar.
	It's unclear why the two commands exist.

	hdiutil has the bigger manpage, so that's probably the better
	way to go if one wants more options/controls.

I thought drutil was new to 10.4, but the manpage says it's been around since 10.3. Fun.

	drutil is on my 10.3.9 machine:

% sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98

% drutil
Usage: drutil command [command-options-and-arguments] -drive [drive-arguments]
 drutil commands are:
[..]

	Maybe they added it in on of the 10.3.x updates.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)(new)