[KLUG Members] Evolution contacts export?

Bruce Smith members@kalamazoolinux.org
Fri, 02 Apr 2004 09:15:09 -0500


> > Is it possible to export Evolutions contacts to a CSV file?
> > I see import functions but no export.
> 
> If your using a Ximianized version of Open Office the address book is integrated
> with evolution and you can copy entries to a spreadsheet, mail merge, etc... 
> Otherwise no.

That's what I was afraid of.  However, not willing to give up so easily,
(and not willing to install Ximian desktop this close to a new version
of SuSE) I went a searching ...   Freshmeat turned up nothing. 
Ximian.com support page search searches also turned up nothing. 

So I broadened my search at google.  Soon I discovered a command 
already installed on my system as part of the evolution package:
"evolution-addressbook-export"

# And this format gives me exactly what I need (to stdout):

> evolution-addressbook-export --format=csv


# It also supports vcards and has other useful options, sweet!  :-)

> evolution-addressbook-export --help
Usage: evolution-addressbook-export [OPTION...]
  --load-modules=MODULE1,MODULE2,...     Dynamic modules to load
 
Help options
  -?, --help                             Show this help message
  --usage                                Display brief usage message
 
Application options
  --output=OUTPUTFILE                    Specify the output file instead of
                                         standard output
  -l, --list-addressbook-folders         List local addressbook folders
  --format=[vcard|csv]                   Show cards as vcard or csv file
  -a, --async                            Export in asynchronous mode
  --size=NUMBER                          The number of cards in one output
                                         file in asychronous mode,default size
                                         100.
 
Bonobo activation Support
  --oaf-ior-fd=FD                        File descriptor to print IOR on
  --oaf-activate-iid=IID                 IID to activate
  --oaf-private                          Prevent registering of server with OAF
 
GNOME GConf Support
 
GNOME Library
  --disable-sound                        Disable sound server usage
  --enable-sound                         Enable sound server usage
  --espeaker=HOSTNAME:PORT               Host:port on which the sound server
                                         to use is running
  --version