Tuesday, March 31, 2009

ISO from the Terminal

While this doesn't relate directly to FCSrv, know how to do these kinds of tasks in the terminal means you can script them, which will revolutionize your workflow.

So how do we create an ISO file from the Mac Terminal?

I have a DVD that I made in DVD Studio Pro, but instead of burning it, I just had the app build it and save the files into a folder on my Desktop. Now I want to turn those files (VIDEO_TS and AUDIO_TS) into an ISO so that I can upload it to FCSrv and our PA can burn it later.

Super simple... open up the Terminal and type the following (inserting your own variables):

hdiutil makehybrid -udf -udf-volume-name the_name_of_your_dvd -o your_dvd_file_name.iso path_to_the_folder_that_contains_the_files

Here's how it worked for me. I have a folder on my Desktop called "DVD". Inside that folder are all the files on want on my ISO. The DVD's name is "Speaker Folder DVD 0409". I wanted the ISO saved on to the desktop, so here is what my command looked like.

hdiutil makehybrid -udf -udf-volume-name Speaker_Folder_DVD_0409 -o ~/Desktop/Speaker_Folder_DVD_0409.iso ~/Desktop/DVD
Hope this helps you guys out.

No comments:

Post a Comment