mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-22 21:58:42 +01:00
Update copy-photos-sorted.ps1
This commit is contained in:
parent
87c1e5b02e
commit
023e71058c
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user