如何通过查找命令在文件夹列表中查找字符串

how to find a string in a list of folders from a find command

我想在一些文件夹中查找一个字符串,而该文件夹列表来自查找命令, 1、使用find命令查找文件夹列表, 2、在那个文件夹列表中找到某个字符串,

怎么做?

以下无效,

find / - name "ETL" | grep -r "BHIF_VIEW" 

像这样将 find-exec 一起使用:

find / - name "ETL" -exec grep -r "BHIF_VIEW" {} \;