Rewrite all UIDs #646
-
For historical reasons, my calendar has UIDs that do not correspond to the current UUID standard. https://de.wikipedia.org/wiki/Universally_Unique_Identifier Example: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It will probably depend on your calendaring application, but I expect if you import the same events with different UIDs then it will create duplicates of all your events. So you can possibly try using the METHOD property to indicate the old events should be removed, but I can't think of a way to change the UID of an event in-place. |
Beta Was this translation helpful? Give feedback.
-
I would like to set up the calendar from scratch. |
Beta Was this translation helpful? Give feedback.
I think that should be ok. So to use iCal4j for this you will just read in the existing calendar(s) and iterate through the events and replace existing UID properties with a new one. Then write out the calendar(s) to a file for import.