title: Unix Command to List files containing string but *NOT* containing another string
body: <p>How do I recursively view a list of files that has one string and specifically doesn't have another string? Also, I mean to evaluate the text of the files, not the filenames.</p>
  
  <hr>
  
  <p>Conclusion:</p>
  
  <p>As per comments, I ended up using:</p>
  
  <pre><code>find . -name "*.html" -exec grep -lR 'base\-maps' {} \; | xargs grep -L 'base\-maps\-bot'
  </code></pre>
  
  <p>This returned files with "base-maps" and not "base-maps-bot". Thank you!!</p>