Re: Counting & trashing
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.