Re: Counting & trashing
Re: Counting & trashing
- Subject: Re: Counting & trashing
- From: Nigel Smith <email@hidden>
- Date: Wed, 14 Jul 2004 15:51:18 +0100
On 14/7/04 13:57, "John Stewart" <email@hidden> wrote:
>
You needn't do any sorting to accomplish what you want. You just need to
>
establish a cutoff date and trash everything older than
>
that date. Note: this script as written uses the creation date of folders more
>
than 15 days old.
John,
That will only tend to work if you make 1 new folder every day -- no more,
no less -- and run the script daily. It may be what Bernard wants (he did
mention backups), but it isn't quite what he asked for in the first part of
his question.
But I agree you don't need any sorting. Either find the youngest 15 and
trash the rest, or keep trashing the oldest until you only have 15 left. I
guess the switch between the two methods would occur around the 30-item
mark, but I haven't done any testing.
Nigel
_______________________________________________
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.