grep -r <pattern> "dir/*/dir/dir/file" or grep -r <pattern> "*/dir/dir" or // generic grep -r <pattern> *