• 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: Counting & trashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting & trashing


  • Subject: Re: Counting & trashing
  • From: Bernard Azancot <email@hidden>
  • Date: Thu, 15 Jul 2004 01:11:49 +0200

On Wed, 14 Jul 2004 14:31 John Stewart said this

property cutoff : 15
set targDate to ((current date) - (cutoff * days))
set targFolder to choose folder
tell application "Finder" to delete (every folder of targFolder whose
creation date is less than targDate)

Still simpler and better, John.
Thanks again.

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


  • Prev by Date: Re: replacing an image in photoshop
  • Next by Date: Re:Quicksort
  • Previous by thread: Re: Counting & trashing
  • Next by thread: Remote Apple Events
  • Index(es):
    • Date
    • Thread