Update 'capture.ps1'
This commit is contained in:
parent
4e73cc7011
commit
7385f3e933
@ -14,6 +14,7 @@ $captureListFile = Join-Path -Path $path -ChildPath "capture.filelist"
|
|||||||
$fileList = Get-Content -Path $captureListFile
|
$fileList = Get-Content -Path $captureListFile
|
||||||
|
|
||||||
foreach ($file in $fileList) {
|
foreach ($file in $fileList) {
|
||||||
|
if ([string]::IsNullOrWhiteSpace($file)) { continue }
|
||||||
$files = @()
|
$files = @()
|
||||||
if ($file.IndexOf('/*') -gt -1) {
|
if ($file.IndexOf('/*') -gt -1) {
|
||||||
$files = Get-ChildItem -Path $file -Recurse
|
$files = Get-ChildItem -Path $file -Recurse
|
||||||
|
Loading…
Reference in New Issue
Block a user