Skip to content

Instantly share code, notes, and snippets.

@debboutr
Last active March 14, 2016 20:01
Show Gist options
  • Save debboutr/91b383239d075a877625 to your computer and use it in GitHub Desktop.
Save debboutr/91b383239d075a877625 to your computer and use it in GitHub Desktop.
Batch rename files in Powershell
Dir | Rename-Item -NewName {$_.name -replace "","_"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment