resize .dmg on mac os x with Terminal

I store my personal documents in a 128bit encoded .dmg file, which is password protected (good old porns ;) I finally faced the problem, that I’ve grown out this image - but i had no place to create a new one and copy over the contents (I was working heavy on a dvd edit) - so i RTFM.

hdiutil resize -size nn[m|g|t] mysecret.dmg

2 Responses to “resize .dmg on mac os x with Terminal”

  1. Thanks for the post. Useful stuff.

  2. John Whatever says:

    Thanks for the tip. Saved me a ton of trouble on Leopard.

    First hit on google, too.

    Cheers.

Leave a Reply