image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old December 24th, 2002, 12:33 AM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
How to duplicate a CD/DVD-ROM via the command line

If you need to create a personal backup copy of a CD-ROM or DVD, it's fairly simple to do so in the terminal. First, insert the CD-ROM/DVD to be copied into your drive. When the Finder mounts it, take note of the path (especially the title of the disc). (You can also get this information via df if you are working totally without the GUI.)

Next, unmount the disc:
hdiutil unmount "/Volumes/nameofcd"
It should report its progress like so:
Code:
hdiutil: unmount: LetIOKitSettleDown: (timed out).
"disk3s1s9" unmounted successfully.
Next, copy the disc to your hard disk using the CD/DVD Master format (use whatever disk3xxxx name was returned above in the following command):
hdiutil convert /dev/disk3s1s9 -format UDTO -o "~/Desktop/nameofcd"
Its progress will look something like this:
Code:
Preparing imaging engine...
Reading Apple_HFS (0)...
..........................................................................
Terminating imaging engine...
Elapsed Time: 17m 21.578s
 (2 tasks, weight 100)
File size: 678428672 bytes
Sectors processed: 1325056, 1325056 copied
Speed: 636.1Kbytes/sec
created: nameofcd.dmg
Eject the disc from the drive and run this command: hdiutil burn "nameofcd.dmg" -noverifyburn -noeject

It will prompt you for a disc, insert one and it will burn your disc:
Code:
Please insert a disc: 
Starting
Initializing
Saving temporary image
Opening session
Writing track
............................................................................
Finishing writing
............................................................................
Reply With Quote
  #2  
Old August 1st, 2006, 01:39 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jinbman is on a distinguished road
I could not get this to work. here is my sequence:

rgbs-powerbook-g4-12:~ rgb$ hdiutil unmount "/Volumes/CDname"
"disk6" unmounted successfully.
rgbs-powerbook-g4-12:~ rgb$ hdiutil convert /dev/disk6 -format UDTO -o "/Users/rgb/Desktop"

hdiutil: convert failed - not recognized
rgbs-powerbook-g4-12:~ rgb$
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new firewire hd won't transfer files - any ideas to help? edX Apple News, Rumors & Discussion 14 December 27th, 2001 05:07 PM


All times are GMT -5. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.