MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chuck Pelto <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 06:49:58 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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

ATOM RSS1 RSS2