Windows Tips
  • PowerSelll
    • Rename all files, replacing " " with "_"
    • Rename all files, removing first 3 characters
Powered by GitBook
On this page
  1. PowerSelll

Rename all files, replacing " " with "_"

Rename all files, remove space with underscore

get-childitem * | rename-item -newname { [string]($_.name).replace(" ", "_") }
PreviousPowerSelllNextRename all files, removing first 3 characters

Last updated 1 year ago