Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

czeluff

macrumors 6502
Original poster
Oct 23, 2006
272
2
Hello to all,

let's say I wanted to encapsulate "Folder X" into a .dmg. The only way I know how to go about doing this is to make an empty dmg FIRST, and you must specify it's size. the size cannot grow or shrink.

That is a really stupid way to do it, because i accidentally made the .dmg 2kb smaller, so it wouldnt allow me to drop the folder into it.

Is there a better method for doing this?

chad
 
There are several ways. Without downloading any new software, you can launch Disk Utiliities. Select File > New > Disk Image from Folder.... There are also several drag & drop utilities which will do this. You can find them at the usual places where Mac shareware is posted.
 
yes there is a better way.

when you make the disk image in disk utility set it higher than you think you'll need...
rather than have it take up all that space with nothing in it and you potentially not using all the space, make it a 'sparse' disk image, this way it will only take up as much space as its contents, but it'll still have the 'cap' you set for it.
 
does windows accept .dmg files? can they be opened quicly using windows?
how would i create a .zip file on os x?
 
does windows accept .dmg files? can they be opened quicly using windows?
how would i create a .zip file on os x?

i don't know how compatible .dmgs are with windows
but to create a .zip just select the file/folder, control/right click and create archive.
 
Is there a better way? Yes.

With Tiger, you can drag and drop a folder directly onto Disk Utility's icon, whether it's in the dock or not.

Doing so will almost immediately open the 'new image from folder' save box, where you can choose a compressed, read/write or read-only image as well as CD/DVD masters.

No messing around.
 
does windows accept .dmg files? can they be opened quicly using windows?
how would i create a .zip file on os x?

To make a zip file on mac, control click an application (or right click it) then click Compress "your app"


Screen_Shot_2014_03_30_at_7_29_11_AM.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.