public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: How to convert Android contacts2.db to a Vcard .vcf file?
Date: Wed, 22 Sep 2021 12:16:44 -0600	[thread overview]
Message-ID: <4b627bac-f546-5c08-6fb8-6ea9e1dfd16b@SystematicSw.ab.ca> (raw)
In-Reply-To: <DB6PR03MB3013DA14572084F45EB25642A4A29@DB6PR03MB3013.eurprd03.prod.outlook.com>

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.]

  reply	other threads:[~2021-09-22 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 15:40 Fergus Daly
2021-09-22 18:16 ` Brian Inglis [this message]
2021-09-28  8:51 ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b627bac-f546-5c08-6fb8-6ea9e1dfd16b@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).