How do I export events to a single iCalendar file?

Can I export multiple calendar events to one iCalendar file?

+1


source to share


3 answers


You just create an iCalendar file with multiple VEVENT sections. For example:



BEGIN:VCALENDAR
BEGIN:VEVENT
DESCRIPTION:
DTEND:20071202T220000Z
DTSTAMP:20081124T220920Z
DTSTART:20071202T200000Z
LOCATION:Wherever
STATUS:CONFIRMED
SUMMARY:An event
UID:event-the-first
END:VEVENT
BEGIN:VEVENT
DESCRIPTION:Doing whatever, because for no good reason.
DTEND:20071209T210000Z
DTSTAMP:20081124T220920Z
DTSTART:20071207T190000Z
LOCATION:A specific place
STATUS:CONFIRMED
SUMMARY:Something, somewhere
UID:event-the-second
END:VEVENT
END:VCALENDAR

      

+1


source


Just note, you need to avoid "," and ";" line by line. Also, the string length must be <75 characters. \ r \ n follows a space.



0


source


The easiest way is to create a separate calendar in Calendar.app, nÊe iCal. I call mine "Export". Change the events to be in this calendar and then export this calendar using File > Export > Export...

.

You will have a file with a name {calendar name}.ics

, which includes all events in this calendar, which you can rename at any time convenient for you. Importing the .ics file into iCal will force the user to select the calendar they would like to import the events into.

Once you've exported the events, just put them back in your regular calendar and you're good to go. Personally, I keep my "export" calendar, so I don't have to create it every time I want to, but you can delete it if you like.

0


source







All Articles