• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
      • From: Jonathan Piccolo <email@hidden>
References: 
 >EOF Error passing "quoted form of the POSIX path" to "do shell script" (From: Jonathan Piccolo <email@hidden>)

  • Prev by Date: Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
  • Next by Date: Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
  • Previous by thread: Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
  • Next by thread: Re: EOF Error passing "quoted form of the POSIX path" to "do shell script"
  • Index(es):
    • Date
    • Thread