lastwebnovel-app/scripts/check_covers.ps1
2026-04-11 22:55:16 +02:00

11 lines
326 B
PowerShell

cd "c:\Users\a.dchar\Documents\privé\lab\lastwebnovel\content\novels"
# Get all directories and check for cover.png
Get-ChildItem -Directory | ForEach-Object {
$novelSlug = $_.Name
$coverPath = Join-Path $_.FullName "cover.png"
if (Test-Path $coverPath) {
Write-Host "$novelSlug - HAS cover.png"
}
}