Add csv contacts exported from Thunderbird to abook addressbook
/* abook format */
static int csv_conv_table[] = {
NAME,
EMAIL,
PHONE,
NOTES,
NICK
};
Thunder bird output First Name,Last Name,Display Name,Nickname,Primary Email,
# convert csv to abook
abook --convert --infile tmpfile.csv --informat csv --outfile ~/.abook/test --outformat abook
# convert abook to csv
abook --convert --infile ~/.abook/addressbook --informat abook --outfile ~/.abook/test.csv --outformat csv
Read more at https://www.geeksaresexy.net/2010/04/28/how-to-copy-outlook-contacts-to-abook/#v5OugTlZlVjQqRwU.99
- [ ] use prompt-query to select file for conversion
- prior to addition of new addresses:
- [ ] back-up old addressbook file
- [X] dump and merge old abook addresses to merge