• 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: A simple deletion script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A simple deletion script


  • Subject: Re: A simple deletion script
  • From: "H.S. Photo" <email@hidden>
  • Date: Sun, 11 May 2003 11:40:08 +0100

> At 10:49 AM +0100 11/05/03, H.S. Photo wrote:
>> Can I just enter "cd ~/folder : rm nam*" in Script Editor?
>
> Almost. Use "do shell script" (in StandardAdditions.osax):
>
> --------------------------
> do shell script "cd ~/folder : rm nam*"
> --------------------------
>
> Emmanuel

Emmanuel,

Much appreciated. When I run this I get "execution error
sh:cd:/users/hans/folder: No such file or directory"

I am sure there's something simple I am missing here. If you can show me the
light I'd be much indebted!

Hans
--
Hans Staartjes
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: A simple deletion script
      • From: James Cass <email@hidden>
References: 
 >Re: A simple deletion script (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Separations in Quark
  • Next by Date: Re: A simple deletion script
  • Previous by thread: Re: A simple deletion script
  • Next by thread: Re: A simple deletion script
  • Index(es):
    • Date
    • Thread