This is more as a reference for me than anything. I cannot seem to ever remember how to exclude a directory when doing a recursive grep so here we go:
1
|
|
1 2 3 4 5 |
|
For multiple excludes use --exclude-dir={dir1,dir2}
I’m mostly hoping that the act of typing this out will help it stick. Perhaps it’ll help you as well.