I can never find this when I need it. Here is how to find files containing specific text while excluding specific directories in Linux:
grep -R "whatever you like" *| grep -v ".svn/*"
Via linux – Exclude .svn directories from grep – Stack Overflow.
I can never find this when I need it. Here is how to find files containing specific text while excluding specific directories in Linux:
grep -R "whatever you like" *| grep -v ".svn/*"
Via linux – Exclude .svn directories from grep – Stack Overflow.