• 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: James Cass <email@hidden>
  • Date: Sun, 11 May 2003 07:07:08 -0400
  • Organization: neugenix

On Sunday 11 May 2003 06:40 am, H.S. Photo wrote:

Hans-

Use a semi-colon instead of a colon. A ";" seperates commands on the same
command line.

do shell script "cd ~/folder ; rm nam*"

Regards,
Cassj

> > 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
_______________________________________________
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.

References: 
 >Re: A simple deletion script (From: "H.S. Photo" <email@hidden>)

  • Prev by Date: Re: A simple deletion script
  • Next by Date: Re: retrieving process name from a record
  • Previous by thread: Re: A simple deletion script
  • Next by thread: Re: A simple deletion script
  • Index(es):
    • Date
    • Thread