How to convert Android contacts2.db to a Vcard .vcf file?
Brian Inglis
Brian.Inglis@SystematicSw.ab.ca
Wed Sep 22 18:16:44 GMT 2021
On 2021-09-22 09:40, Fergus Daly via Cygwin wrote:
> To try to do this I have followed the hints at
> https://www.youtube.com/watch?v=ZKX6R0-EPC4
Which Android version or how old is the video?
> and therefore
> 1. installed sqlite and libsqlite-dev
> 2. Downloaded dump-contacts2db.sh from https://github.com/stachre/dump-contacts2db/
> 3. FAILED to turn this script into an executable using chmod +x
Download Raw rendering and move from Downloads or wherever to your local
personal bin directory then "chmod -v a+rx dump-contacts2db.sh".
> and therefore
> 4. failed to achieve the one-line command
> $ dump-contacts2db.sh contacts2.db > contacts.vcf
> Can anybody help with item 3 or offer an entirely different / better / easier method to achieve the conversion?
Learn enough sqlite to list tables, and columns in tables, to check if
that matches with the script columns and assumptions, and perform the
query yourself in the utility, to check or customize the script for your
own needs.
BTDT: wasn't too hard, interesting, or useful; promptly forgot all about
everything!
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
More information about the Cygwin
mailing list