Skip to content

Instantly share code, notes, and snippets.

@jvegaf
Forked from ethangardner/bulk-rename.ps1
Last active January 23, 2022 16:58
Show Gist options
  • Save jvegaf/ce322c61ecdf6a1ca2194b3e983ad54d to your computer and use it in GitHub Desktop.
Save jvegaf/ce322c61ecdf6a1ca2194b3e983ad54d to your computer and use it in GitHub Desktop.
Powershell script to bulk replace spaces with underscores in a directory of files
Dir | Rename-Item –NewName { $_.name –replace _, }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment