mttkay/replicant

!query command to query databases

mttkay opened this issue · 0 comments

I currently have a shell script to quickly query the database:

#!/bin/sh
DEVICE=$1
QUERY=$2
adb $DEVICE shell "echo \"$QUERY\" | sqlite3 /data/data/com.soundcloud.android/databases/SoundCloud"

I would like to have a !query command:

!query SoundCloud
query> select * from Sounds;
...