top | item 44658275

(no title)

Ballas | 7 months ago

Well, you can have the same functionality with find if you want it:

find -type f -exec grep -Hn "_content_" {} \;

discuss

order

rovr138|7 months ago

  grep -RHn "_content_" .

dotancohen|7 months ago

Though I much prefer this solution, the GP solution is better when there are non-text documents in the directory tree. Find is nice and that you can narrow it down by file name or file extension, without relying on bash globs.