Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Jeffrey Paul 4031bbf751
Merge branch 'master' of github.com:john-g-g/sqlite2json
8 år sedan
sqlite2json actually fixes #4 now 8 år sedan
.gitignore Init 10 år sedan
LICENSE Initial commit 10 år sedan
README.md version bump to 1.0.1, added me to authors 8 år sedan
setup.py version bump to 1.0.1, added me to authors 8 år sedan

README.md

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

Authors

  • John Gerlock <john@pikkey.com>

  • Jeffrey Paul <sneak@sneak.berlin>