Created
May 30, 2017 09:59
-
-
Save gabrielmoral/cb9a7f517a7894f82f3789b241598f5f to your computer and use it in GitHub Desktop.
Script to rename files in 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 -Filter "*-es*" | Rename-Item -NewName {$_.name -replace '-es','-us'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment