|
|
Hello,
Tom Rymes wrote:
Somewhat of an odd question here, but does anyone have a good way to expunge a calendar of old items? We have shared calendars here that have 2,000-5,000 entries in them, and I periodically expunge the old entries to help performance, especially with the initial load of a calendar for a new profile in MAPI.
Anyhow, I have often done this by viewing the folder as a folder and then sorting by "received". You can then presumably delete the oldest entries, but this invariably ends up in having some recurring items deleted, because they were created a long time ago, but are still relevant.
Any ideas as to how best I might accomplish this?
To remove only the relevant items (not recurring) you need to parse the calendar items. The simplest parsing is to grep for RRULE attribute in the iCalendar data - that sets up recurrence rule. This even works when you filter a Calendar folder on messages that contain RRULE in Thunderbird or WebUser.
Tom
--
Best regards,
Dmitry Akindinov
=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your
reply.
|
|