Skip to content

Instantly share code, notes, and snippets.

@psycalc
Created July 24, 2017 17:26
Show Gist options
  • Save psycalc/307fe58e6bcbc8b67541b03ec1f14f5c to your computer and use it in GitHub Desktop.
Save psycalc/307fe58e6bcbc8b67541b03ec1f14f5c to your computer and use it in GitHub Desktop.
Mass rename files using regexp Windows
Get-ChildItem -File -Recurse
| % { Rename-Item -Path $_.PSPath -NewName $_.Name.replace("LoadedFromRam","")}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment