Updated copy-photos-sorted.ps1

This commit is contained in:
Markus Fleschutz 2024-01-27 12:19:35 +01:00
parent 1e227f3ba4
commit 1a956d2a5b

View File

@ -76,6 +76,9 @@ try {
} elseif ("$filename" -like "SAVE_*_*.jpg") {
$Array = $filename.split("_")
CopyFile "$file" "$targetDir" $Array[1] "$filename"
} elseif ("$filename" -like "PXL_*_*.jpg") {
$Array = $filename.split("_")
CopyFile "$file" "$targetDir" $Array[1] "$filename"
} else {
Write-Host "⏳ Skipping $filename with unknown filename format..."
}