$grep -r deactivates *
grep: trash4: No such file or directory
grep: warning: X11/X11: recursive directory loop
Binary file X11/zile matches
grep: X11/trash4: No such file or directory
Binary file zile matches
$grep -I -r deactivates *
grep: trash4: No such file or directory
grep: warning: X11/X11: recursive directory loop
grep: X11/trash4: No such file or directory
ahiliation:~$pwd
/usr/bin
$
-I option
Process a binary file as if it did not contain matching data; this is equivalent to the --binary-files=without-match option.
source : debian manual for grep.