Skip to main content
Powered by Drupal, an open source content management system

User login

Navigation

gcalcli, google calendar for console-dudes

March 8, 2010 by kinneh

I recently found http://code.google.com/p/gcalcli/ a command line version of the google calendar, neat :-)

My only problem is that adding events with it is only supported to write to default calendar and that's not what I need to do. First go to the settings tab in google calendar -> calendars -> "the calendar you want to write to" -> check the Id at the Calendar Address (Calendar ID: xxsdsdfcxxcvsefsxccvxcvxcv@group.calendar.google.com).

No to the very ugly hack to change from the default calendar in quick add, edit the gcalcli python script and change at row 832
self.gcal.InsertEvent(quickEvent,
# '/calendar/feeds/default/private/full')
'/calendar/feeds/xxsdsdfcxxcvsefsxccvxcvxcv@group.calendar.google.com/private/full')

And your submissions should go to the other calendar.

My problem now is that google (or the python lib?) need the dates in US format ie very easy to forget the backwards mm/dd notation.

Premium Drupal Themes by Adaptivethemes