---
name: "pycard-import"
section: "1"
platform: "linux"
package: "pycarddav"
version: "0.7.0-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/pycard-import"
---

# pycard-import(1)

import email addresses from mails from stdin

## NAME

pycard-import - import email addresses from mails from stdin

## SYNOPSIS

**pycard-import** \[*OPTIONS*\]

## DESCRIPTION

[pycard-import(1)](/pycard-import/1.md) imports email addresses from mails piped into its stdin and saves those addresses to the database used by [pycardsyncer(1)](/pycardsyncer/1.md) and [pc\_query(1)](/pc_query/1.md). [pycard-import(1)](/pycard-import/1.md) is part of the *pycarddav* package.

## OPTIONS

### BASIC STARTUP OPTIONS

- **-a, --account**=*NAME*

  Only use the account/resource *NAME* (this option can be used more than once).

- **-c, --config**=*CONFIG*

  Use the configuration file *CONFIG*, otherwise [pycard-import(1)](/pycard-import/1.md) will look in *$HOME/.pycard/* and *$HOME/.config/pycard/* for files named *pycard.conf*.

- **--debug**

  This option enables debugging output.

- **-h, --help**

  Print a small help text and exit.

- **-v, --version**

  Print pycard-import’s version number and exit.

### IMPORTING OPTIONS

- **--batch**

  Do not open the editor.

- **--bcc**

  Import the content of the Bcc header.

- **--cc**

  Import the content of the Cc header.

- **-f, --from**

  Import the content of the From header.

- **-n, --dry-run**

  Do not actually update the database (implies --batch).

- **-t, --to**

  Import the content of the To header.

## AUTHOR

pycard-import was mostly written by Christian Geier, with a lot of help by others, see *CONTRIBUTORS.txt* in the pycarddav distribution.

## RESOURCES

Main web site: http://lostpackets.de/pycarddav/ Please report bugs via the contact information at the above web site or via github: http://github.com/geier/khal/.

## SEE ALSO

[pycardsyncer(1)](/pycardsyncer/1.md), [pc\_query(1)](/pc_query/1.md)

## COPYING

Copyright (C) 2011-2013 Christian Geier and Contributors. pycard-import and pycarddav are released under the terms of the Expat/MIT license, see the *COPYING* file distributed with pycarddav.
