UPDATE: The following syntax seems to work

hdiutil create -srcfolder /users/ mydata.dmg

Why won't this allow me to set the destination path to something  
other than my own user identity folder?

Chuck

On Jan 16, 2006, at 3:52 AM, Chuck Pelto wrote:

>
> On Jan 16, 2006, at 3:13 AM, Shane Stanley wrote:
>
>> On 16/1/06 9:06 PM, "John Delacour" <[log in to unmask]> wrote:
>>
>>> Terrific!
>>
>> I thought so, too; thanks to the person who posted it to
>> www.macosxhints.com.
>
> Okay.
>
> Based on what I was able to read in the new highly searchable PDF  
> I've got, my syntax SHOULD BE....
>
> do shell script "hdiutil create -srcfolder '/Users/myname' '/ 
> Desktop/MyData.dmg'"
>
> But I get an error of "hdiutil: create failed - Invalid argument"  
> when I try that.
>
> do shell script "hdiutil create -srcfolder '/Users/myname' ~/ 
> Desktop/MyData.dmg"
>
> Regards,
>
> Chuck