Skip to content

Instantly share code, notes, and snippets.

@mjdescy
Created May 7, 2014 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjdescy/a683c1bf880409bb9d5c to your computer and use it in GitHub Desktop.
Save mjdescy/a683c1bf880409bb9d5c to your computer and use it in GitHub Desktop.
Windows PowerShell Batch Rename Files
dir | Rename-Item -NewName { $_.name -replace "OldText", "ReplacementText" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment