Last active
August 29, 2015 14:10
-
-
Save aaronolds/a0e0e426e7c61659662f to your computer and use it in GitHub Desktop.
PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem "[starting path]" -recurse -Filter [filter] | Select-String -pattern “[pattern in file filtered files]” | group path | select name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Filter "*{filter}*" -recurse | Rename-Item -NewName{$_.name -replace '{text-to-replace}', 'replacement-text'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment