Update 'capture.ps1'
This commit is contained in:
parent
ce09580a6b
commit
b0e0f2d095
@ -26,6 +26,7 @@ foreach ($file in $fileList) {
|
|||||||
$targetParent = Split-Path -Path $targetCopy -Parent
|
$targetParent = Split-Path -Path $targetCopy -Parent
|
||||||
if (-not (Test-Path -Path $targetParent)) {
|
if (-not (Test-Path -Path $targetParent)) {
|
||||||
New-Item -ItemType Directory -Path $targetParent -Force | Out-Null
|
New-Item -ItemType Directory -Path $targetParent -Force | Out-Null
|
||||||
|
Write-Host "Copy-Item -Path '$($file.FullName)' -Destination '$($targetParent)'"
|
||||||
Copy-Item -Path $file.FullName -Destination $targetParent
|
Copy-Item -Path $file.FullName -Destination $targetParent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user