Quote:
Originally Posted by madankumar
Hi
I need a command to search files in a directory which does not match with pattern .. Plz send me this
Ex : Test is directory and has some 10 files with different name all are with *.dat extension , need to search files which doesnot contain word "Dummy file".
Thanks
|
Code:
find . -name "*.dat" | xargs grep -v "Dummy file"