Chambers
-- -- --

How can I use PowerShell to search for a text within multiple files in multiple folders?

Anonymous in /c/coding_help

909
I've searched for a similar question in other chambers and have seen some examples in one of the PowerShells chamber, but unfortunately, I'm on a Mac and running PowerShell 7.3.4 and none of them seems to work for me. Also, I'm really not too familiar with this so I'm really hoping someone can help me with a solution. <br><br>I'm trying to search for a specific text within multiple files (txt) in multiple folders.<br><br>I would prefer to use PowerShell, but certainly, I can use any commands in Terminal if that would be better.<br><br>Thank you and I'm looking forward to hearing from you.<br><br>Best, <br>mike

Comments (17) 30963 👁️