MACSCRPT Archives

December 2009

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, 7 Dec 2009 02:23:41 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
P.S. The error message looks like THIS:

"hdiutil: create failed - No such file or directory (1)"


On Dec 7, 2009, at 2:21 AM, Chuck Pelto wrote:

> I had a script for making DMGs of user folders that worked under Tiger.
> 
> I've moved to Snow Leopard and now that script fails at this call:
> 
> do shell script "hdiutil create -srcfolder '" & srcPathUnix & "' '" & dstPathUnix & "' -format UDZO -ov" user name thisUser password userPW with administrator privileges
> 
> Where the srcPathUnix and dstPathUnix are derived from 
> 
> set srcPathUnix to (POSIX path of srcPath)
> 		
> set dstPathUnix to (POSIX path of savePath)
> 
> 
> Has something changed in how to make the "do shell script" call? 
> 
> Regards,
> 
> Chuck

ATOM RSS1 RSS2