Update 'capture.ps1'

This commit is contained in:
cbrand 2023-04-15 01:27:31 -07:00
parent 4e73cc7011
commit 7385f3e933

View File

@ -14,6 +14,7 @@ $captureListFile = Join-Path -Path $path -ChildPath "capture.filelist"
$fileList = Get-Content -Path $captureListFile
foreach ($file in $fileList) {
if ([string]::IsNullOrWhiteSpace($file)) { continue }
$files = @()
if ($file.IndexOf('/*') -gt -1) {
$files = Get-ChildItem -Path $file -Recurse