replicant icon indicating copy to clipboard operation
replicant copied to clipboard

!query command to query databases

Open mttkay opened this issue 10 years ago • 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;
...

mttkay avatar Oct 30 '14 15:10 mttkay