I often use the find
command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of each file in its .
If you tell find to search through '*', then it will skip all "dot files" in the root:
find *
or with path
find /path/*
This is not an exact / perfect solution to the question. However, few solutions are simpler than this one. Performance is great too, since it doesn't even enter the hidden directories.
shortcomings:
So in your example adding a star is the only modification you would need:
find * -name 'messages.*' -exec grep -Iw uint {} +