how to use find command in adb shell
问题 I want to check if there is a certain file inside a directory in my android device. I use the following line in my windows batch adb shell find /mnt/sdcard/koinoxrista -name Bill.txt I want to do something if the file exists and something else if file does not exist. How can I do this? 回答1: Find command is not supported in adb shell. This command will also show you hidden files adb shell ls -laR | grep filename 回答2: I am afraid that the Android emulator does not provide with the 'find'