如何搜索与adb.exe文件? [英] How to search a file with adb.exe?
本文介绍了如何搜索与adb.exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Unix / Linux中包含查找命令搜索文件,但我不知道在Android中哪一个命令可以用来搜索文件。请给我一个例子。
Unix/Linux contains "find" command for searching files, but I do not know which command in android can be used to search for a file. Please give me an example.
推荐答案
您可能无法找到查找
和的grep
在所有设备上,所以可能是你安全的赌注是
You may not find find
and grep
on all devices, so probably your safe bet is
$ adb shell ls -lR | grep filename_you_want
在Linux / OSX或
on Linux/OSX, or
> adb shell ls -lR | find "filename_you_want"
在Windows上。
on Windows.
这篇关于如何搜索与adb.exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文