Last active
December 9, 2021 13:58
-
-
Save devgioele/b3a3162cc24184033a99d75ce3c2f5c3 to your computer and use it in GitHub Desktop.
Powershell cmd to rename files recursively using a regex
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
# Changing the file extensions of files from .js to .tsx | |
Get-ChildItem ./src -File -Recurse | Rename-Item -NewName { $_.Name -replace '\.js','.tsx' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment