Go to file
john-g-g 59c02f4b96 Added feature to extract references from create table sql 2014-02-16 18:42:53 -05:00
lite2j Added feature to extract references from create table sql 2014-02-16 18:42:53 -05:00
.gitignore Init 2014-02-14 14:37:21 -05:00
LICENSE Initial commit 2014-02-14 11:34:04 -08:00
README.md Added feature to extract references from create table sql 2014-02-16 18:42:53 -05:00
setup.py Added feature to extract references from create table sql 2014-02-16 18:42:53 -05:00

README.md

lite2j -- sqlite to json export utiilty

This script dumps all* the tables in an sqlite database as json.

Usage

lite2j sqlitefile.db [--exclude=TABLE]

To dump the sqlite file where iMessages are stored:

lite2j ~/Library/Messages/chat.db

Here is a more useful version of the above example:

lite2j ~/Library/Messages/chat.db | jq -r .message[].text | grep -i loan

*The script doesn't dump the contents of of the sqlite_master table