Skip to content

Addressbook commandline access

Wednesday, 8 June 2005  |  krake

While preparing for my talk on KDE commandline scripting I discovered a couple of new commandline clients.

So afterwards I continued to look for possibilities of accessing KDE from the commandline. After a while I thought it would be nice if one could access the KDE addressbook like konsolekalendar allows to access KOrganizer's data.

At first I missed kabc2mutt and started to code my own client program: kabcclient (however it now also features a kabc2mutt compatability mode :))

Features:

  • List whole addressbook
  • Search in addressbook
  • Add entries to addressbook
  • Remove entries from addressbook

It is pretty flexible how it interprets input (from commandline or stdin) and how it formats its output, thus allowing it to work like kabc2mutt if called by that name.

Usage examples can be found in the README file