I have a requirement to display all files in a directory which doesn't have
CountOfFilesTransmitted=0 string in them.
If I give below command it gives only those files which has
find . -type f | xargs grep -l "CountOfFilesTransmitted=1"
Gives: 1.log, 2.log, 10.log
find . -type f | xargs grep -l "CountOfFilesTransmitted=1" -- gives 3.log, 7.log
There are logs in that directory with 0 to 100 files Transmitted I have to give 101 entries. Is there a way to get filenames which have non zero?
something like "
find . -type f | xargs grep -l "CountOfFilesTransmitted!=0" which should return all files which doesn't have "