1

I want to retreive android database using run-as like in here, like this way :

adb shell
shell $ run-as com.example.package
shell $ chmod 666 databases/file
shell $ exit                                               ## exit out of 'run-as'
shell $ cp /data/data/package.name/databases/file /sdcard/
shell $ run-as com.example.package
shell $ chmod 600 databases/file
adb pull /sdcard/file

but my database file has space like "my db", what kind of punctuation that I must used ?

/ or " " or ' ' or something else ?

Community
  • 1
  • 1
Redturbo
  • 1,563
  • 8
  • 22
  • 34

1 Answers1

1

You should use the quotation mark "
chmod 666 databases/"my db"

TDG
  • 5,909
  • 3
  • 30
  • 51