How do I use the 'find' command on ADB to search the entire android file tree on a rooted device, including sub directories, for any filenames containing the word 'prop' ?
How do I use the 'find' command on ADB to search the entire android file tree on a rooted device, including sub directories, for any filenames containing the word 'prop' ?
Use:
find . -name "*prop*"
.
: represents the current folder.-name
: option to find files by name.*prop*
: filenames that contain the word prop.OR as mentioned by @alexs on the comment, you can use:
find . -iname "*prop*"
-iname: option to find files by name but is case insensitive.
If you want to find the all files with the root folder as the stating place, do as mentioned by @IrfanLatif by using:
find / -iname "*prop*"
Q & A