hdiutil convert /path/imagefile.iso -format UDRW -o /path/convertedimage.dmg

Convert an ISO file to DMG format in OS X Terminal


0
By: rpavlick
2010-03-30 22:03:22

These Might Interest You


  • 0
    hdiutil convert /path/imagefile.dmg -format UDTO -o /path/convertedimage.iso
    rpavlick · 2010-03-30 22:02:20 0
  • First, we convert the VMware avi (VMnc format) to the Microsoft avi format. Next, we convert the Microsoft avi format to FLV format. You can play around with the -r switch (rate per second) and the -b switch (bitrate). But, if those get larger, so does your FLV file.


    0
    mencoder -of avi -ovc lavc movie.avi -o movie2.avi; ffmpeg -i movie2.avi -r 12 -b 100 movie.flv
    dcabanis · 2009-08-28 11:05:21 0
  • Audio convert is a script that uses zenity and lame to transcode virtually any format to any other format provided you have the libraries installed to do so.


    1
    audio-convert <dir>/*
    din7 · 2010-02-22 17:44:53 0

  • 1
    ffmpeg -i Your_video_file -s 320x240 FILE.flv
    eastwind · 2009-12-12 00:28:10 1
  • why would you want to convert mp3's to ogg? 1 reason is because ardour doesn't support mp3 files because of legal issues. this is really the only reason you would do this, unless you have really bad hearing and also want smaller file sizes, because converting from one lossy format to another isn't a good idea. Show Sample Output


    -1
    mp32ogg file.mp3
    nickleus · 2009-11-16 20:22:48 0
  • need imagemagick package Show Sample Output


    5
    convert sample.pdf sample.jpg
    eastwind · 2009-12-05 19:27:37 1

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: