• 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
Finder: Delete files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder: Delete files


  • Subject: Finder: Delete files
  • From: Olivier Berquin <email@hidden>
  • Date: Mon, 25 Jun 2001 09:37:59 +0200

Hi all,

I would like to delete (in a folder) all the files that the date is not
"today". I've this, but it not work fine:

tell application "Finder"
delete (every file of folder (choose folder) whose ,
(modification date) < ((current date) - (1 * days))) -- 24 hours
-- empty trash
end tell


Any idea ?

TIA

Oli.


  • Follow-Ups:
    • Re: Finder: Delete files
      • From: Hugh Dixon <email@hidden>
    • Re: Finder: Delete files
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: [ANN] Tanaka's osax 2.0.1
  • Next by Date: How to get the index of an item in a list
  • Previous by thread: Re: [ANN] Tanaka's osax 2.0.1
  • Next by thread: Re: Finder: Delete files
  • Index(es):
    • Date
    • Thread