find files that does not contain a specific string

Let say you want to know if all the metadata.rb file that DOES NOT contains a string called "name" from start of line.

egrep -L ^name */metadata.rb

No comments: