I have www folder with lots of php projects. Hidden somewhere is a script in a /cli/ folder that I'm trying to find. If I use this in the www folder:
grep -R "mycode" */cli/*
It's only finding files in projectname/cli/
But the cli folder is in a subdirectory somewhere. So I need it to match projectname/subdir/cli/ or projectname/subdir/subdir/cli/ etc.