Skip to content

Instantly share code, notes, and snippets.

@jonfhancock
Created August 23, 2013 18:26

Revisions

  1. jonfhancock revised this gist Aug 23, 2013. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +0,0 @@
    then from the command line, I run:

    ./pulldb.sh
  2. jonfhancock created this gist Aug 23, 2013.
    6 changes: 6 additions & 0 deletions cpdb.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #! /bin/bash

    cp /data/data/com.signnow.android/databases/documents.db /sdcard/
    cp /data/data/com.signnow.android/databases/signnow.db /sdcard/
    exit
    exit
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    then from the command line, I run:

    ./pulldb.sh
    5 changes: 5 additions & 0 deletions pulldb.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!

    adb shell "su 0 /sdcard/cpdb.sh"
    adb pull /sdcard/documents.db
    adb pull /sdcard/signnow.db