Re: [Evolution] Dump of address book contents to something other than vcard?



On Thu, 2020-03-26 at 17:21 -0500, Japhering, Anonymous via evolution-
list wrote:
Linux Mint 19.3 kernal 5.3.0-42-generic smp
Evolution 3.36.1 (flatpak git85f017e)
Is it possible to dump the contents of contact lists to something
other than vcards? Perhaps csv ?

Yes.  Not sure how to make it work with flatpak, but on a normal
install...


awilliam@bestia:~> /usr/lib/evolution-data-server/evolution-data-server/addressbook-export 
--list-addressbook-folders
"e6c290dd4806c85404c456ae0c1aa1583907c616","Contacts",16
"1511792840 8947 1 beast01 wmmi net","Favorites",0
"1551710279 12747 2 beast01 wmmi net","HPNA",25
"1444991386 3908 2 linux-86wr site","MARP",57
"1485199180 2837 1 beast01 wmmi net","MI Favorites",21
"1449693320 3597 1 linux-86wr site","MI Users",560
"1446663540 12887 2 linux-86wr site","Morrison",21
"system-address-book","Personal",76

awilliam@bestia:~> /usr/lib/evolution-data-server/evolution-data-server/addressbook-export  --format=csv 
--output=marp.csv 1444991386 3908 2 linux-86wr site

awilliam@bestia:~> ls -l marp.csv
-rw-r--r-- 1 awilliam users 18933 Mar 27 11:58 marp.csv

NOTE: if you have remote address books the --list-addressbook-folders can be slow.

-- 
Executive Committee Chair
Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awilliam whitemice org GPG#D95ED383 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]