Update copy-photos-sorted.ps1

This commit is contained in:
Markus Fleschutz 2022-01-08 13:58:54 +01:00
parent 87c1e5b02e
commit 023e71058c

View File

@ -68,6 +68,9 @@ try {
} elseif ("$Filename" -like "PANO-*-*.jpg") {
$Array = $Filename.split("-")
CopyFile $Num "$File" "$Filename" $Array[1] "$TargetDir"
} elseif ("$Filename" -like "SAVE_*_*.jpg") {
$Array = $Filename.split("_")
CopyFile $Num "$File" "$Filename" $Array[1] "$TargetDir"
} else {
"#$($Num): $Filename with unknown filename format"
}