Grep: Excluding a specific folder using
- by user334966
Say our folder structure looks like this:
/app
/app/data
...
/app/secondary
/app/secondary/data
I want to recursively search /app/data but I do not want to search /app/secondary/data.
From within the app folder, what would my grep command look like?