grep ASCII files only
I am using grep to search recursively through a large tree. It returns more binary files which I don't care about. I looked at the man page, but it wasn't obvious how to specify ascii files only, or to exclude bins. Here is what I am using. The ascii files are not limited to *.txt however. I am searching through Visual Studio .net project heirarchies. Here is what I am using:
grep -Rn string * There must be something like grep -Rn -? type=ASCII string * Thx, Zakk |
Have you tried:
Code:
grep -IRn string * |
(post deleted)
|
All times are GMT -5. The time now is 12:06 AM. |