There are hundreds of .html files in a directory. I need to delete files that don't contain word bluecar in their contents.
I thought sed with rm would do that, but I don't know how to combine them.
|
|
|
This should work using grep:
|
|||||||||||||||
|
|
The
or
But try it on a copy first... |
|||||||||||
|