A PowerShell snippet for renaming files.

1
2
3
Get-childItem 2020*.md
Get-childItem 2020*.md | Rename-Item -NewName { $_.Name -replace '.md', '.yaml'}
Get-childItem 2020*.yaml