Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Create DMGs in Disk Utility via drag and drop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Create DMGs in Disk Utility via drag and drop
Authored by: DylanMuir on Apr 13, '06 12:58:36AM

Or you can use the hdiutil utility from the terminal.

hdiutil create -srcfolder (folder name)

will do the trick, and is scriptable.

DRM



[ Reply to This | # ]
10.4: Create DMGs in Disk Utility via drag and drop
Authored by: adrianm on Mar 16, '07 12:12:06PM
plus, hdiutil (and Disk Utility with a defaults hack) can use bzip2 for compression instead of zlib, eg:

hdiutil create -srcfolder folder -format UDBZ archive.dmg
Depending on what you're compressing, this can make quite a difference, but is 10.4 only.

Another nice thing about DMGs is that they can be mounted over a network, so if you just need a handful of files from an archive, you don't have to download the whole thing.

For general archiving, and Mac-to-Mac copying I always use DMGs, as they are just so much more useful. For sharing with Windows, I use ZIP, or gzipped tar files.

Stuffit is dead.

---
~/.sig: not found

[ Reply to This | # ]

10.4: Create DMGs in Disk Utility via drag and drop
Authored by: adrianm on Mar 16, '07 12:13:38PM

oops, posting to wrong forum :) please ignore

---
~/.sig: not found



[ Reply to This | # ]