Posted By

rockiger on 11/27/09


Tagged

cli


Versions (?)

Snippet for filtering files and then searching in this files in a console


 / Published in: Bash
 

Searches all html files under the current directory for searchterm.

  1. find ./ -type f -name "*.html" | xargs grep -r 'searchterm'

Report this snippet  

You need to login to post a comment.