Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
- Subject: Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
- From: email@hidden
- Date: Wed, 24 Oct 2007 09:02:25 -0400
A couple more things:
On 10/24/07, Jonathan Piccolo > do shell script "'ditto " & quoted
form of the POSIX path of "~/
Pretty sure that won't work. "Quoted form of" wraps the string in
single quotes, which will keep the ~ from turning into the path of
your home directory.
Really, it seems like you have all the pieces of the command already
in shellscript form, so I don't know why you're jumping through all
the hoops intended for translating *into* that form from AppleScript.
I'm not sure why you need AppleScript at all, here, but it seems like
this will do what you want:
do shell script "ditto ~/'Desktop/Archive/Library/Application
Support/' '/Library/Application Support/' "
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden