Skip to content

Instantly share code, notes, and snippets.

@kerrypnx
Created April 22, 2020 04:02
Show Gist options
  • Save kerrypnx/755297275936ed3e8e6732c9c44ae404 to your computer and use it in GitHub Desktop.
Save kerrypnx/755297275936ed3e8e6732c9c44ae404 to your computer and use it in GitHub Desktop.
Powershell bulk rename file
Get-ChildItem *.xml | Rename-Item -NewName { $_.Name -replace '\.xml','.tmp' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment