Dumps contacts from an Android contacts2.db to stdout in vCard format.
dump-contacts2db.sh path/to/contacts2.db > path/to/output-file.vcf
- perl
- base64
- sqlite3
- Ubuntu 12.04 Precise Pangolin
- Debian Squeeze/Wheezy
- 2.2 Froyo
- 2.3.5 Gingerbread
- 4.0.3 Ice Cream Sandwich
- 4.1.1 Jelly Bean
- Doesn't handle file-not-found or type mismatch gracefully; need to implement validation
- Doesn't handle missing sqlite gracefully; need to implement validation