I was trying to search for the string "BCR" in any file under Dropbox folder this manner :
grep -E -rnw "*BCR*" ~/Dropbox
but I got the following error :
grep: repetition-operator operand invalid
Is there a kind of redundancy in what the command I wrote ? I'm using bash-3.2 under Mac OSX El Capitan. Thanks in advance!