• 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 problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell script problem


  • Subject: Re: Shell script problem
  • From: "Ronald 'Warui' Becher" <email@hidden>
  • Date: Sun, 11 Dec 2005 20:03:44 +0100

Manfred M. Strasser schrieb:

ls -l -S -F cd /Users/xyz/Desktop/oneFolder/
In the Terminal I get a correct result ... But using this in an AppleScript ...
do shell script "ls -l -S -F cd " & "/Users/xyz/Desktop/xyz/"
returns an error: "No such directory ..."
What's the bug?

Hello Manfred,

I somehow can't find one and your snippet works with me ... yet only with existing directories of course ;-)
But I never get an error like the one you describe. If I want to list a non existing directory the output consists only of double quotes.


Greetings
Ronald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Shell script problem
      • From: deivy petrescu <email@hidden>
    • Re: Shell script problem
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Shell script problem (From: "Manfred M. Strasser" <email@hidden>)

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