seqbatches to home paths too

This commit is contained in:
2025-08-20 18:24:09 -06:00
parent f7034b540c
commit 0f7cb287d9
2 changed files with 65 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# Copy the current UpdateSequences.bat to all subfolders that have it
$sourceFile = "A:\1 Amazon_Active_Projects\3 ProjectStructure\UpdateSequences.bat"
$sourcePs1 = "A:\1 Amazon_Active_Projects\3 ProjectStructure\UpdateSequences.ps1"
$sourceFile = "R:\Creative\artsy\maya\0 ProjectStructure\UpdateSequences.bat"
$sourcePs1 = "R:\Creative\artsy\maya\0 ProjectStructure\UpdateSequences.ps1"
if (-not (Test-Path $sourceFile)) {
Write-Error "Source file not found: $sourceFile"
@@ -19,7 +19,7 @@ Write-Host "Source .ps1: $sourcePs1" -ForegroundColor White
Write-Host ""
# Find all UpdateSequences.bat files
$targetFiles = Get-ChildItem -Path "A:\1 Amazon_Active_Projects" -Recurse -Filter "UpdateSequences.bat" | Where-Object { $_.FullName -ne $sourceFile }
$targetFiles = Get-ChildItem -Path "R:\Creative\artsy\maya" -Recurse -Filter "UpdateSequences.bat" | Where-Object { $_.FullName -ne $sourceFile }
Write-Host "Found $($targetFiles.Count) target files to update:" -ForegroundColor Yellow
foreach ($file in $targetFiles) {