Created
April 29, 2020 16:02
-
-
Save DigitalEssence/928605ab6ee6b7ac77c4af67efdf3e6e to your computer and use it in GitHub Desktop.
Powershell - Replace space in filename with hyphen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir | rename-item -NewName {$_.name -replace " ","-"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment