updateseq for both HOME and work

This commit is contained in:
2025-11-02 12:57:39 -07:00
parent e59fc1ad62
commit 7d12bd6d52
3 changed files with 783 additions and 97 deletions

View File

@@ -1,2 +1,4 @@
# SpecStory explanation file
/.what-is-this.md
# SpecStory project identity file
/.project.json

View File

@@ -158,8 +158,10 @@ try {
"[$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')] === UpdateSequences (ps1) started in '$root' ===" | Add-Content -LiteralPath $logFile
# Scan for folders with work convention: daily_*
$dailyDirs = Get-ChildItem -LiteralPath $root -Directory -Filter 'daily_*' | Where-Object { $_.Name -ne '_archive' }
# Scan for folders with both conventions: daily_* (work) and YYYY-MM-DD (home)
$dailyDirsWork = Get-ChildItem -LiteralPath $root -Directory -Filter 'daily_*' | Where-Object { $_.Name -ne '_archive' }
$dailyDirsHome = Get-ChildItem -LiteralPath $root -Directory -Filter '????-??-??' | Where-Object { $_.Name -ne '_archive' }
$dailyDirs = @($dailyDirsWork) + @($dailyDirsHome)
$mapDaily = @{}
$dailiesScanned = 0