Snippet to find string files of a given filename find . -name config.rb -print0 | xargs -0 grep 'search-thing'