Exporting korganizer calendars as .ics in automatic way

Carles Pina i Estany carles at pina.cat
Sat Jul 1 23:23:06 BST 2023


Hi,

I use Debian 11.7 with its korganizer / akonadi packages (version
20.08.3-1). I will update to Debian 12 some time soon (it ships with
22.12.3-1)

Today I've realised that my korganizer has the first events in 2002 :-)
thanks for writing it! :-)

I would like to have all the korganizer events in a iCalendar file
(.ical) (some post-processing). Same output as File -> Export -> Export
as iCalendar but in an automated way. What's the best way?

So far today I've tried:
-To automate with qdbus (no luck, this is not exposed in
qdbus? If I'm wrong let me know!).
-With the utility "konsolekalendar" (no luck, no iCalendar exporting)

Possible solution (I've been using it for years without problems...
until one of the two machine recently!):

Set up Korganizer to use a directory as the Calendar's resource
(Settings -> General -> Calendars). Specify a directory.

Then use icalmerge utility to merge it (in a script, using inotifywait,
etc.). I have problems in one of the two computers with this setup and
I'd like to use something better than making korganizer to use a
directory and then reading the files from the directory. Hence my
question above. I might come back and try to fix this asking in a
separate email, but the solution does not look the best one so I'm
trying to use something else.

Thank you very much,

-- 
Carles Pina i Estany
https://carles.pina.cat || Wiktionary translations: https://kamus.pina.cat


More information about the kdepim-users mailing list