grep on windows

‘To search xxx » in all files present in the folder C:\opt\myapp\Log’ :
open Powershell and type:

ls C:\opt\myapp\Log |ForEach-Object {select-string  »C:\opt\myapp\Log\$_ » -pattern xxx} »’

Auteur/autrice : Chrystophe Vergnaud

Prendre du recul pour identifier les réels besoins et faire un choix technologique en fonction de ces besoins.

Laisser un commentaire