Fixing an exported .ics file that can’t be imported in Google Calendar

By , 23/10/2017 17:36

I sometimes receive an .ics file with multiple events that I want to import into Google Calendar but I can’t because it is malformed. I think it is exported by Microsoft Outlook but I’m not sure. The problem is that in this file the events don’t have unique UIDs, they all are the same. Google recognizes this as being one event instead of multiple so you only get the first one in your calendar.

I fix these files very easily in VIM using Python to generate unique identifiers thanks to an answer I found on Stack Overflow:

:py import uuid

Try the import again and it should work!

Flattr this!

Leave a Reply


Panorama Theme by Themocracy