Update README.md

This commit is contained in:
John G G 2014-03-04 14:59:13 -05:00
parent 9822db5a4c
commit 353a3dcf63
1 changed files with 19 additions and 1 deletions

View File

@ -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