/usr/bin/hdiutil create -srcfolder inFolder outImage.dmgwill do the same thing, won't leave visible temp files around in the destination directory (unlike this tool), and even has a man page.
mkdmg
Command line disk imaging program
Version: 0.1.2b
Why?
Feedback Type: Commentary
Contributed by: thecloud Friday, August 20 2004 @ 11:43 AM PDT
Product Platform: MacOSX
Used Product For: Less than a month
Recommend Product: NO
You may not have realized that Mac OS X already provides a full-featured command-line tool to create disk images, called hdiutil.
Why ask why? - Eddie_Kelley_531
mkdmg -s source1 source2 source3 -i image.dmgReply to This
Saturday, August 21 2004 @ 10:08 PM PDT