• 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: Shell script does not run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script does not run


  • Subject: Re: Shell script does not run
  • From: kai <email@hidden>
  • Date: Wed, 25 Apr 2007 23:53:21 +0100


On 25 Apr 2007, at 23:02, Mark J. Reed wrote:

On 4/25/07, Peter Baxter <email@hidden> wrote:
Thanks Kai,

The quoted form solved the problem.

On 25/04/2007, at 11:26 PM, kai wrote:

> do shell script "cp -r " & quoted form of "/Volumes/BAXUSB2KEY/" &
> space & quoted form of "/Volumes/Lacie/BAXUSB2KEY/"

OK, I'm confused. I don't see anything in those pathnames that requires quoting...

No, you're right Mark. I suggested quoting because it's generally safer - especially if different file names/paths could be introduced that might need quoting. Whether or not that was a factor here, I couldn't say. But I'd recommend quoting to anyone who doesn't share your ability to recognise potentially problematic characters. :-)


---
kai


_______________________________________________ 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: Shell script does not run
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Shell script does not run (From: Peter Baxter <email@hidden>)
 >Re: Shell script does not run (From: kai <email@hidden>)
 >Re: Shell script does not run (From: Peter Baxter <email@hidden>)
 >Re: Shell script does not run (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Shell script does not run
  • Next by Date: Re: Shell script does not run
  • Previous by thread: Re: Shell script does not run
  • Next by thread: Re: Shell script does not run
  • Index(es):
    • Date
    • Thread