Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating DMG without extra space

Tags:

People also ask

How do I increase the size of a DMG file on a Mac?

In the Disk Utility app on your Mac, choose Images > Resize, select the disk image file you want to resize, then click Open. Type a new size, then click Resize.

Is it OK to delete DMG files on Mac?

Are you wondering, can you delete DMG files after installing a new app? The quick answer is, yes, removing DMG files will not affect or damage your Mac or newly installed app. Keep reading for more.


I currently use hdiutil to create my DMGs.

The command I use is hdiutil create -size xxxg myImage.dmg -fs HFS+. I'm always left fidgeting around with the size until I get it close enough.

Is there a better method that either shrinks the DMG to size or creates it size?