table of contents
KABCCLIENT(1) | KDE User's Manual | KABCCLIENT(1) |
NAME¶
kabcclient - commandline client for the KDE addressbook
SYNOPSIS¶
kabcclient [[-A] | [-R] | [-M] | [-S] | [-L]] [--match-case] [--nosave] [-ic codec] [-if format] [-if-opts format-options] [-oc codec] [-of format] [-of-opts format-options] [input-data]
DESCRIPTION¶
kabcclient allows commandline access to the KDE addressbook, for example in shell scripts. It supports input from stdin or through additional commandline arguments. Output is always written to stdout.
OPTIONS¶
Operation modes
-A, --add
-R, --remove
-M, --merge
-S, --search
-L, --list
Input options
-ic, --input-codec
-if, --input-format
Instead of reading input text kabcclient can show a dialog for selecting contacts using the input format
-if-opts, --input-format-options
Output options
-oc, --output-codec
-of, --output-format
-of-opts, --output-format-options
Additional options
--match-case
--nosave
DIAGNOSTICS¶
As usual an exit status of zero indicates success. Depending on the chosen operation mode a non-zero exit status indicates a certain problem the application encountered
ADD
1
2
3
REMOVE
1
2
3
MERGE
1
2
3
SEARCH, 1
2
EXAMPLES¶
Look for contact entries with Joe in either name or email addresses
kabcclient -S Joe
Do the same but use case sensitive matching
kabcclient --match-case -S Joe
Do the same but read input text from stdin
echo "Joe" | kabcclient --match-case -S
Try to add a new contact entry using data from a formatted email address
kabcclient --nosave --add -if email "Marilyn Monroe <mmonroe@moviestars.com>"
Do the same but this time really save the changed addressbook
kabcclient --add -if email "Marilyn Monroe <mmonroe@moviestars.com>"
Listing the available input formats
kabcclient -if help
Listing the available output formats
kabcclient -of help
Listing the available options for the 'email' output format
kabcclient -of email -of-opts help
Listing all email addresses for all contacts containing 'Marilyn'
kabcclient -of email -of-opts allemails -S Marilyn
Remove all contacts the user selected in the contact selection dialog
kabcclient --remove -if dialog
Export selected contacts to a VCard (default output format) file
kabcclient -S -if dialog > contacts.vcf
AUTHOR¶
This manual page was written by Kevin Krammer <kevin.krammer@gmx.at>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR¶
Kevin Krammer <kevin.krammer@gmx.at>
2005-09-08 | K Desktop Environment |