I know I can use grep to find a word in all the files present in a folder like this But my current directory has many sub-directories and I just want to search in all xml files present in the current directory and its all sub directories. How can I do that ? I tried this But it searches for