KABC-Client supports deleting contacts from the KDE address book using the
-R command line argument. The input data is basically a query like when searching the address book.
On success the removed contacts will be written to the program's standard output. Since this is an operation which applies changes to the address book it can be run in a "Dry run" mode using the
When you delete something from the address book you cannot undo it! In other words, when you delete a contact you cannot reverse the deletion. It's gone for good.
Test removing all contacts with
jane in any contact name field or any email address: