|
In Panther there is a new switch to hdiutil. Why not use the command hdiutil create -srcfolder <source_folder> <name_of_image> ?
from manpage:
-srcfolder directory
specifies the image size based on the contents of directory. -srcfolder also specifies that the contents of directory should populate the resulting image. -srcfolder copies file by file, creating an optimized filesystem on the destination image (which then could be restored by asr(8)).
-srcdir is a synonym for -srcfolder.
Wouldn't this do the trick in just one step? Or would this create a bigger imagefile?
|