How to delete calendar entries older than 2 years without recurring events

The calendar files get larger and larger and slower and slower
it would be nice to get rid of old entries
recurring events that are active for less than 2 years shold NOT be removed

I wanted that same function for myself, but could not find anything out there to do it. Since I am a professional programmer, I wrote a program in Python to do the job.
My program has several limitations such as events only (no TO DO, no JOURNAL, no ALARMS, etc), but it was all I needed. The output is acceptable to Lightning and Google.
If you are computer literate I could give you the source code. You would also need Python on your computer.
An alternative is to take the exported .ics file and use a text editor on it to delete all the old stuff -- a very tedious process!
In either case, the overall process would be to export the calendar to an .ics file, cut out the old items, delete everything from your calendar (or just create a new calendar), and then import the cleaned up .ics file.

Similar Messages

  • Excahange 2007 Need to permanently delete all emails older than x years

    Cant get to the 2007 forum so don't know if this is the right place.
    Trying to permanently delete all mail older than 4 years from our Exchange 2007 server. I have worked with Powershell in 2010 (Exchange) 
    but I cannot run due to some restrictions with 32/64 bit powershell limitations in exchange 2007.
    I have searched google and these forums -- there has to be an easy way to do this or someone that can point me in the right direction.
    Thanks in advance

    Hi,
    In Exchange 2007, you can use the following cmdlet to delete emails older than the mentioned date from a mailbox.
    Export-Mailbox -Identity xxx -StartDate "xx/xx/xxxx" -EndDate "xx/xx/xxxx" -DeleteContent
    If you need to perform this on a set of mailboxes, paste all display names to a TXT file, name is as "test.txt". Run the following cmdlet.
    Get-Content test.txt | Export-Mailbox -StartDate "xx/xx/xxxx" -EndDate "xx/xx/xxxx" –DeleteContent –Maxthreads 4
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Using the USB cable to sync my blackberry deletes all calendar entries older than 3 mos

    I'm not very good at this kind of thing, so please pardon what I'm sure will be mistakes/omissions as I describe my problem.
    Every time I sync my blackberry using the USB cable (I'm told by my boyfriend who is an IT guy that I can't sync it wirelessly although I don't know why), all of my calendar entries in Outlook get erased--that is, all the entries that are older than 3 mos.  I frequently use those entries as reference so I can't lose them--so now I'm terrified to sync my blackberry.
    Any help will be much appreciated!
    Jenny

    I just found this on the support page and am going to try it for a couple of days to see if it solves the problem:
    Document ID:
    KB18694
    Modified Date:
    01-18-2010
    Document Type:
    Support
    Print this page
    Contents [show]
       Products
       Environment
       Overview
       Cause
       Resolution
    Products
    BlackBerry® Desktop Software
    BlackBerry® Desktop Software Version 1.0 (Mac OS)
    BlackBerry® Devices
    Environment
    BlackBerry® Desktop Manager
    BlackBerry® Desktop Manager Version 1.0 (Mac OS)
    BlackBerry smartphone
    Microsoft® Outlook®
    Yahoo!® Mail calendar
    Apple iSync
    Overview
    When synchronizing the Calendar via the BlackBerry Desktop Manager, past calendar events are being deleted on the desktop calendar application.
    Cause
    Calendar items on the BlackBerry smartphone were deleted as a result of the keep appointments setting in the Calendar was set to delete older appointments.
    Resolution
    To resolve this issue, complete the following steps:
    Task 1
    Configure the BlackBerry smartphone to keep past appointments:
    Open the Calendar application on the BlackBerry smartphone and press the Menu key.
    Select Options and then General Options.
    Within General Options set the Keep Appointments options to Forever.
    Task 2
    Configure BlackBerry Desktop Manager calendar synchronization options:
    For BlackBerry Desktop Manager version 4.5 to 5.0:
    Connect the BlackBerry smartphone to the computer with a USB cable and open BlackBerry Desktop Manager.
    Select Synchronize from the main menu of BlackBerry Desktop Manager.
    Select the Synchronization link and click on the button labeled Synchronization to configure the synchronization settings on the BlackBerry smartphone.
    Select the Calendar.
    Select the option to Synchronize with Microsoft Outlook and click Next.
    Select either the Two way or One way sync and click Next.
    Select the Default profile for Microsoft Outlook.
    For the Calendar date range select the option to Synchronize items within a range of days, configure the date range to sync 30 days in the past and 365 days in the future.
    Click Next.
    Continue through the configuration wizard and click Finish and then OK.
    Perform a new synchronization.
    For BlackBerry Desktop Manager version 4.2 and 4.3:
    Connect the BlackBerry smartphone to the computer with a USB cable and open BlackBerry Desktop Manager.
    Select Synchronize from the main menu of BlackBerry Desktop Manager.
    Click on the Configuration tab and then on Configure Sync.
    Select the Calendar.
    Select the option to Synchronize with Microsoft Outlook and click Next.
    Select either the Two way or One way sync and click Next.
    Select the Default profile for Microsoft Outlook.
    For the Calendar date range select the option to Synchronize items within a range of days, configure the date range to sync 30 days in the past and 365 days in the future.
    Click Next.
    Continue through the configuration wizard and click Finish and then OK.
    Perform a new synchronization.
    If you are still prompted to make deletions from Microsoft Outlook for past calendar events that were not manually deleted, then you may need to repeat the steps above and synchronize with a smaller date range for past events.
    For BlackBerry Desktop Manager version 1.0 for Mac OS:
    Connect the BlackBerry smartphone to the Mac with a USB cable and open BlackBerry Desktop Manager.
    Select Calendar.
    Select Two-Way.
    Select All Calendars or Selected Calendar, checkmark calendars to use during synchronization.
    Select Advanced Settings.
    For the Calendar date range select the option to Only events, configure the date range to sync 30 days prior and 365 days after.
    Click on Sync.
    Top of page
    Disclaimer
    By downloading, accessing or otherwise using the Knowledge Base documents you agree:
       (a) that the terms of use for the documents found at http://www.blackberry.com/support/knowledgebase/disclaimer.shtml apply to your use or reference to these documents; and
       (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.
    Visit the BlackBerry Technical Solution Center at http://www.blackberry.com/btsc.

  • How to sync calendar data older than 1 month?

    How to sync data from calendar older than 1 month? (from computer to phone) Impossible to get my data from beginning of november on calendar on Iphone. What did I miss?

    If you are syncing calendar events direct with Outlook via the iTunes sync process, there is a setting for this under the Info tab for your iPhone sync preferences with iTunes below the sync calendars section.

  • Pocketmac deleted calendar entries on mac and won't sync events with BB Storm.

    I just removed the google sync from my Storm and now Pocketmac is not syncing properly. Basically all my calendar events are still on my Storm (luckily) however pocketmac has now wiped all calendar entries from Entourage! I have tried re-syncing with BB overwrites Mac however this only places one long calendar event (months long) with strange characters in the name (i.e. garbage).
    Does anybody have a suggestion for me to try to get my calendar entries back into Entourage and for Pocketmac to properly sync?

    What happened is that when you deleted google sync it also most likely deleted the google calendar on your storm and put all of your calendar entries into the Storm's "DEFAULT CALENDAR"
    Unfortunately, the default calendar will NOT sync with anything (one of my frustrations with my BB 8320).
    Fixing it is somewhat complicated, but this is what I had to do.
    Back up your storm with Desktop Manager
    Go to Options>Advanced Options>Default Services and set your default calendar to your e-mail address and and your messaging to the same e-mail address
    Sync your storm with your calendar (hopefully you have a backup on your computer)
    Look at your calendar -- you should have duplicate entries of almost everything, this is OK.
    In the calendar hit the applications key (blackberry key) and go to SELECT CALENDAR and select "default Calendar". This will only show you what's in the default calendar and not the new one you just synced.
    Go to Date 12/31/2035 -- yes 2035. This should take you to the bottom of the calendar -- I usually do this in Agenda View
    Highlight the last date that you have in the calendar and hit the menu key and select DELETE PRIOR ITEMS. This should delete everything in the default calendar.
    Now you should have single entries for most of your calendar items. However, there many still be some duplicates, usually recurring items, and these have to be deleted manually.
    This is what worked for me
    That's what I needed to do, and now it seems to be working fine.

  • HT1386 Why when I select not to update the calendar with any entry older than 1 day it ignors that and goes back as far as my calendar has entries

    Why when I select not to update the calendar with any entry older than 1 day it ignors that and goes back as far as my calendar has entries

    FCPx answer: At least the answer that worked for me...
    I had the same problem, as I believe many others had.
    In my case the problem was with one of OSX Mavericks' new features: APP NAP.
    It looks like this is ON by DEFAULT for ALL Applications and that FCPx, or Compressor for that matter, will not work if this is enabled on them.
    I just disabled App Napp on FCPx and now it works, again, like a charm.
    This is how you disable App Nap: http://reviews.cnet.com/8301-13727_7-57612009-263/how-to-disable-app-nap-in-os-x -mavericks/
    I hope this helps,
    Mariano

  • How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?

    How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?
    I have created other rules to move some of my daily messages into specific folders and I don't wish to auto-delete those.
    Just the general stuff that keeps piling up in my me.com main email box.  Mail such as FB announcements and other low priority stuff I want to look at before deleting but don't want to keep longer than a week or month.
    TIA
    thokitts

    Thanks, but I am looking for a more automated solution than hand marking emails as junk. I might as well move them to the trash myself.
    Again, these are emails I want to receive and quickly read, but not keep longer than a week or month or so. By setting a rule to toss any older than 30 days back then my Mail program (and thus my hard drive) won't be wasting so much space. For example, currently I have over 6000 read messages, with their attachments, in my main email box. I'd rather not have to physically attend to sorting the one I don't want out.
    The one I do keep for other reasons get moved into other folders.
    It seems this should be possible.
    thokitts

  • How to delete daily all idocs older than one year

    Hello
    I wander how to delete daily all idocs older than one year. I guess with an job(but how to create it)

    Hi
    Check this [Link|https://ecohub.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/17c435df-0901-0010-72a7-b9dcd271213d]
    Just give a search in SDN you could find lot of doucments releated to archiving of idocs
    Regards
    Uday

  • How to delete data older than three years from DSO

    Hi  all,
    We needs to keep historical data in the DSO only for three years. One way of doing this is by selective deletion we can delete data older than three years but we want to make it authomated. Is it possible to add a process or ABAP program to delete data older than three years.
    If it is p[ossible by ABAP code then can you please give me sample code.
    Many Thanks in advance.
    Harman

    Some time for in case of huge volume of data selective deletion is not works, Try for "prunning" option.
    It's work as follows
    1)     Create DSO which is same replica of your Source DSO.
    2)     Create two transformation
         a) from Source DSO to Copy DSO
         b) Another is from Copy DSO to Source DSO
    3)     Transprort Last 3 years records to Copy of Source DSO using DTP Filter range for time.
    4)     Once data loading from Source DSO to Copy DSO get completed delete all data from Source DSO.
    5)     Now load data from Copy DSO to Source DSO.
    6)     After complete loading delete entire data from Source DSO.
    I use prunning process to one of my client and it's work perfectly.
    Regards,
    Sushant
    +919820849482

  • Searching for calendar items older than a specific date with search-mailbox and AQS

    I need to find the total size of all calendar items in a mailbox older than a specified date using PowerShell through the search-mailbox cmdlet's searchquery parameter.  My problem is that I cannot find a complete list of Calendar item properties to
    use in search queries.  The AQS page doesn't have a complete list of properties for a Calendar object.
    I'm using code from the ArchiveStatisticsPlanner.ps1 script as a base and the only date properties I know of are the sent and receive properties (see below.)  The basic start, end, date properties generate errors in the query.  How can I find all
    Calendar items older than say, 1/1/2013?
    Sample:
    $MBXSearch=Search-Mailbox-Identity$MBX-SearchQuery"kind:calendar
    sent:<=$QueryDate OR kind:calendar received:<=$QueryDate"-EstimateResultOnly-DoNotIncludeArchive

    huh, you a get response marked as answer that wasn't very helpful.
    EDIT: and now I'm reported as abusive.  Please don't tell the truth on these forums, it seems to be frowned upon
    I did that.
    If you're going to necro an answered thread and attempt to hijack it, you should have an actual answer that you feel is more relevant.
    All you did was complain and add zero useful information, thus earning an 'offtopic/irrelevant' notation.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How to delete one entry in "documents & data" of icloud?

    It seems some application saves settings in "documents & data", but the application has been removed already.
    I do not know how to delete the entry.
    Anyone can help me?
    Thanks!

    Hello mende1,
    I  follow your suggestion many times but it does not work still.
    The record "Ruler for iPad and iPhone..." fails to disappear.

  • Powershell Command to permanently delete items in ALL users Deleted Items folder older than X days.

    Does anyone know a powershell command that can be run on Exchange 2010 SP1 that will permanently delete mail in the deleted items folder older than X days for ALL users in a specific database? This should include any user created subfolders in deleted items
    also.
    I know that seems bizarre to have user created subfolders in deleted items but we have found that users have discovered that if they create subfolders then their deleted items dont get purged at the regular retention period time.
    Thank You.

    Hi,
    For Exchange 2010 SP1, we can use search-mailbox and new-mailboxexportrequest to delete message in certain folder.
    Understanding Exchange Search
    http://technet.microsoft.com/en-us/library/bb232132.aspx
    Xiu Zhang
    TechNet Community Support

  • Why does my iCal delete all events older than a year? Is this a synch issue? I'm running Snow Leopard.

    Why does my iCal delete all events older than a year? Is this a syn issue? I'm running Snow Leopard.

    this has already been answered.
    please ignore my question.

  • Calendar search not finding calendar events older than a year.

    Calendar search cannot find events older than a year.
    neither does spotlight search.
    iphone 4s 16GB ios version 7.1.2
    ipad 32GB with retina (purchased on 2012) ios version 7.1.2
    Does anybody has the same issue?
    Calendar events over one year old are not found when searched on iOS. Neither on the iPhone nor the iPad. Although they are found on a mac running mavericks calendar app.
    All events are displayed when going directly to the month and viewing all the events of each day, but she search feature, the one accessed through the little magnifier, simply cannot find any event older than a year.
    I have multiple events in my calendar and I tested them and the last I can find is within 365 days of today. after that events cannot be found.
    steps to reproduce:
    1. go into the calendar app on the iPhone and add an event but use a date date 13 months older than the current date. Save the event.
    2. verify the even is created by looking at the day of the event
    3. on the top right corner of the calendar app select the magnifying glass and try to search the event by typing any word you used on the title of the event just created
    4. search result will display No Results
    5. exit the calendar and access spotlight search on the home screen by using the "pull down" gesture from an area outside of the dock, including the top row of app icons. Type any word you used on the title of the event just created
    6. search result will not display the event
    Thanks

    this has already been answered.
    please ignore my question.

  • TS2481 All of my calendar history older than 30 days has disappeared from my iphone5.  I have not synced it with my computer.  It just suddenly disappeared.  Is there any way to get it back?

    All of my calendar history older than 30 days has disappeared from my iphone 4S.  I did not perform a sync with my computer-it literally just disappeared!  Is there any way to get it back?

    Unfortunatly for me I did not, do you think there might be any other way? Maybe by accesing it directly through direct USB contact and not through iTunes?

Maybe you are looking for