whatsapp contacts export
I have a problem I can't import the contact from whatsapp to jolla contats db, so I'm thinking to a dirty way export all data from /data/data/com.whatsapp/databases/wa.db there is a table 'wa_contacts' that brings all info that I want.
How import it on jolla contacts? there is a command line tool or python api? or I have to manually edit the jolla-contacts db (/home/nemo/.local/share/system//privileged/Contacts/qtcontacts-sqlite/contacts.db)?
I found contacts-tool but just to show not to import:
Usage: contacts-tool [OPTIONS] COMMAND
where COMMAND is one of:
list [sync-target] - lists all contacts, optionally specified by sync-target type
search <search-text> - searches for contacts with details containing search-text
details <ID...> - lists details for contacts matching the supplied ID list
links <ID...> - lists links for contacts matching the supplied ID list
delete <ID...> - removes contacts matching the supplied ID list
dump [ID...] - displays contact details in debug format
help - show this command summary
version - show the application version
How about you convert your export to vcf and import that the traditional way (GUI)?
chemist ( 2016-10-11 12:05:55 +0200 )edityes, I think is the safe and fast way, I'm writing a python script to export in vcf. the only problem is avoid duplicated contacts maybe using contacts-tool I can create vcf just for missing contacts
muchasuerte ( 2016-10-11 12:21:05 +0200 )editPeople should recognize duplicates on import and either merge or link them automagically.
chemist ( 2016-10-11 14:31:33 +0200 )edit