This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set app_package=%1 | |
set db_name=%2 | |
set adb_path=%ANDROID_HOME%\platform-tools\adb | |
set dest_path=%db_name% | |
set device_dest_path=/mnt/sdcard | |
:GET_DB | |
del %dest_path% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script for getting database form device via adb and open in sqlite_client(work with not rooted devices) | |
# | |
# While you aren't breaking script execution(CTLR+C), | |
# each closing of sqlite_client will be download and open database again and again. | |
# | |
# Note: if you don't have installed sqliteman override sqlite_client variable with your favorite client | |
# | |
# Usage: open_db.sh {app_package} {db_name} |