Grep: Excluding a specific folder using
Posted
by user334966
on Stack Overflow
See other posts from Stack Overflow
or by user334966
Published on 2010-05-09T21:28:12Z
Indexed on
2010/05/09
21:48 UTC
Read the original article
Hit count: 125
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?
© Stack Overflow or respective owner