PowerShell: find in files
Per cercare una stringa all’interno di tutti i file di una directory (andando anche nelle sottodirectory) si fa così:
Get-ChildItem -Recurse -Include *.* | Select-String “pippo”
che abbreviato diventa:
ls -r -i * | Select-string “pippo”
Originale no?
Leave a Reply