Update 'capture.ps1'
This commit is contained in:
parent
b0e0f2d095
commit
f1c406a61a
@ -26,10 +26,10 @@ 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)'"
|
Write-Host "Copy-Item -Path '$($file.FullName)' -Destination '$($targetParent)'"
|
||||||
Copy-Item -Path $file.FullName -Destination $targetParent
|
Copy-Item -Path $file.FullName -Destination $targetParent
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
chown go:go ./* -R
|
chown go:go ./* -R
|
Loading…
Reference in New Issue
Block a user