2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "khard"
|
2022-01-26 22:35:07 +00:00
|
|
|
tags: [ "Documentation", "Data" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-02-07 00:14:48 +00:00
|
|
|
Get the basic config:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
mkdir ~/.config/khard
|
|
|
|
```
|
2020-02-07 00:14:48 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
cp /usr/share/doc/khard/examples/khard/khard.conf.example ~/.config/khard.conf
|
|
|
|
```
|
2020-02-07 00:14:48 +00:00
|
|
|
|
2020-01-02 00:04:35 +00:00
|
|
|
Short list
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard list
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Longer list
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard show
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Show from addressbook 'work'
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard list -a work
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Make a new contact in address book 'family'
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard new -a family
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard edit grampa
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard remove bob
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Move contact 'nina' from 'work' to 'home' address book.
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard move -a home nina -A work
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
## Advanced
|
|
|
|
|
|
|
|
Merge:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
khard merge [-a source_abook] [-u uid|search terms [search terms ...]] [-A target_abook] [-U target_uid|-t target_search_terms]
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|