• 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: John Delacour <email@hidden>
  • Date: Sat, 10 May 2003 20:42:36 +0100
  • Mac-eudora-version: 6.0a16

At 7:06 pm +0100 10/5/03, H.S. Photo wrote:

As a complete applescript idiot I would really appreciate it if someone
could clue me into a simple deletion script I can use for multiple photo
files on my hard drive: something like "find names xxxxx (where I can paste
the file names) and move to trash".

tell app "Finder" to move files in folder "d:f:" whose name contains "xxx" to the trash.

or

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

or you can use 'find' in the shell to get better matching.

JD
_______________________________________________
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: 
 >A simple deletion script (From: "H.S. Photo" <email@hidden>)

  • Prev by Date: A simple deletion script
  • Next by Date: Targeting selection in Mail outgoing message
  • Previous by thread: A simple deletion script
  • Next by thread: A simple deletion script
  • Index(es):
    • Date
    • Thread