feat: wrote a smol script to fix the name of pages that were previously php
This commit is contained in:
parent
f3c0b44ac6
commit
543e85e1ba
100 changed files with 5 additions and 0 deletions
5
src/fix_news.ps1
Normal file
5
src/fix_news.ps1
Normal file
|
@ -0,0 +1,5 @@
|
|||
Get-ChildItem -Path ./*.html%* | ForEach-Object {
|
||||
$NewName = ($_.Name -split "%")[0]
|
||||
Write-Host $_ $NewName
|
||||
Rename-Item -Path $_.FullName -NewName $NewName
|
||||
}
|
Loading…
Reference in a new issue