From 353a3dcf632ca6109d1e88fedb9dde5b116e1807 Mon Sep 17 00:00:00 2001 From: John G G Date: Tue, 4 Mar 2014 14:59:13 -0500 Subject: [PATCH] Update README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c729eaa..c8f0152 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ -lite2j +sqlite2json ====== + +This script dumps all* the tables in an sqlite database as json. + +## Usage + + sqlite2json sqlitefile.db [--exclude=TABLE] + + +To dump the sqlite file where iMessages are stored: + + sqlite2json ~/Library/Messages/chat.db + +Here is a more useful version of the above example: + + sqlite2json ~/Library/Messages/chat.db | jq -r .message[].text | grep -i loan + + +\*The script doesn't dump the contents of of the sqlite_master table