GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
ADB Find Files on the Device |
20200214
$ adb shell herolte:/ $ find / -name '*.mp3' 2>/dev/null ./system/media/audio/notifications/NETPHONEMESSAGEALERT.mp3 ./system/media/audio/ringtones/Globeringtone.mp3 ./system/media/audio/ringtones/NETPHONERINGTONE.mp3 ./system/csc/GLB/system/media/audio/ringtones/Globeringtone.mp3 ... ./storage/8912-4FA8/Music/... ... |
There will be areas on the phone that are not accessible. The redirection of stderr to the null device ignores messages that report the lack of permissions.