How to access the Evolution calendar data from the command line

command lineevolution

I want to be able to access the Evolution calendar from the command line. Specifically, I'd like to be able to:

  1. List calendar events (the one-line summary, date and time is enough)
    1. Upcoming events starting today
    2. Events on a specific date
  2. Add an event on a specific date

How can I do that? Is it possible?

Google was distinctly unhelpful in this case. I'm running Evolution 3.4.4. Using additional software packages that talk to the Evolution server is perfectly fine.

Best Answer

The answer to your question is SyncEvolutiuon. The documentation for the Command Line usage is on the website

SyncEvolution synchronizes personal information management (PIM) data via various protocols (SyncML, CalDAV/CardDAV, ActiveSync). It syncs contacts, appointments, tasks and memos. It syncs to web services or to SyncML-capable phones via Bluetooth.

You can then use this to access your Evolution Calendar by getting the information sync to CalDAV. Good blog on this is Degooglifying Part IV

The best thing is that you can use this to sync your calendar to many devices or just so you can bang on CalDAV with any script.

Related Question