feat: wrote a smol script to fix the name of pages that were previously php

This commit is contained in:
silver 2023-07-23 01:37:16 +01:00
parent f3c0b44ac6
commit 543e85e1ba
100 changed files with 5 additions and 0 deletions

5
src/fix_news.ps1 Normal file
View file

@ -0,0 +1,5 @@
Get-ChildItem -Path ./*.html%* | ForEach-Object {
$NewName = ($_.Name -split "%")[0]
Write-Host $_ $NewName
Rename-Item -Path $_.FullName -NewName $NewName
}