Rename Multiple Files with PowerShell
A simple one-liner:
Get-ChildItem -Recurse -Filter *.component.scss | Rename-Item -NewName { $_.name -Replace '.component', '' }
Written by Darren Hickling
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Powershell
Authors
Related Tags
#powershell
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#