Hello,
I have over 200 .txt and .ksh files in a directory having keywords like Revision, Author, Date etc.
Some of the files do not have these keywords in them, and some have 2 out of 3.
I want to identify files that are missing keywords in them.
I could do following to find where its existing, but I want the other way, Files not having keywords.
find . -exec grep -q 'Revision' '{}' \; -print
Any help?
Thanks.
I have over 200 .txt and .ksh files in a directory having keywords like Revision, Author, Date etc.
Some of the files do not have these keywords in them, and some have 2 out of 3.
I want to identify files that are missing keywords in them.
I could do following to find where its existing, but I want the other way, Files not having keywords.
find . -exec grep -q 'Revision' '{}' \; -print
Any help?
Thanks.