android - Retrieve all folders using root (su) in ADB -
how retrieve folders using su in 1 command? without root use
adb shell "ls -r / | grep /"
and when try
adb shell su "ls -r / | grep /"
it doesn't work. how must syntax work?
use -c
option of su
execute command. need 2 levels of quotes --
adb shell "su -c 'ls -r / | grep /'"
Comments
Post a Comment