Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Duplicate a CD/DVD-ROM via the command line
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gatorparrots" data-source="post: 181"><p>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). <em>(You can also get this information via <strong>df</strong> if you are working totally without the GUI.)</em></p><p></p><p>Next, unmount the disc:</p><p><span style="color: blue">hdiutil unmount "/Volumes/nameofcd"</span></p><p>It should report its progress like so:</p><p>[code]hdiutil: unmount: LetIOKitSettleDown: (timed out).</p><p>"disk3s1s9" unmounted successfully.[/code]</p><p>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):</p><p><span style="color: blue">hdiutil convert /dev/disk3s1s9 -format UDTO -o "~/Desktop/nameofcd"</span></p><p>Its progress will look something like this:</p><p>[code]Preparing imaging engine...</p><p>Reading Apple_HFS (0)...</p><p>..........................................................................</p><p>Terminating imaging engine...</p><p>Elapsed Time: 17m 21.578s</p><p> (2 tasks, weight 100)</p><p>File size: 678428672 bytes</p><p>Sectors processed: 1325056, 1325056 copied</p><p>Speed: 636.1Kbytes/sec</p><p>created: nameofcd.dmg[/code]</p><p>Eject the disc from the drive and run this command: <span style="color: blue">hdiutil burn "nameofcd.dmg" -noverifyburn -noeject</span></p><p></p><p>It will prompt you for a disc, insert one and it will burn your disc:[code]</p><p>Please insert a disc: </p><p>Starting</p><p>Initializing</p><p>Saving temporary image</p><p>Opening session</p><p>Writing track</p><p>............................................................................</p><p>Finishing writing</p><p>............................................................................[/code]</p></blockquote><p></p>
[QUOTE="gatorparrots, post: 181"] 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). [i](You can also get this information via [b]df[/b] if you are working totally without the GUI.)[/i] Next, unmount the disc: [color=blue]hdiutil unmount "/Volumes/nameofcd"[/color] It should report its progress like so: [code]hdiutil: unmount: LetIOKitSettleDown: (timed out). "disk3s1s9" unmounted successfully.[/code] 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): [color=blue]hdiutil convert /dev/disk3s1s9 -format UDTO -o "~/Desktop/nameofcd"[/color] 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[/code] Eject the disc from the drive and run this command: [color=blue]hdiutil burn "nameofcd.dmg" -noverifyburn -noeject[/color] 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 ............................................................................[/code] [/QUOTE]
Verification
How many occurrences of a n-u-m-b-e-r between "d" and "f" in this example...(sdgs6ngklu3gd#f9%)?
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Duplicate a CD/DVD-ROM via the command line
Top