11 lines
326 B
PowerShell
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"
|
|
}
|
|
}
|