v1.14.0 - Interactive Exclusion Management and Backup Improvements
New Features
Interactive Exclusion Management
-
Backup Dev Module: Interactive exclusion management via checkbox interface
- Add/remove directory and file exclusions without editing JSON
- Comma-separated bulk input support
- Real-time validation and duplicate detection
- Auto-migration from old config structure
- File:
modules/backup-dev/backup-exclusions.ps1
-
Line Counter Module: Parallel implementation for code counting
- Manage extensions and path patterns interactively
- Same checkbox interface as backup-dev
- File:
modules/line-counter/line-counter-exclusions.ps1
Improvements
Backup History Logging
- Compact Summary Format: Reduced log size from 16MB to <1KB per session
- Increased Retention: Track last 10 backups (up from 7)
- Mode Tracking: Logs show FULL, DRY-RUN, TEST, or COUNT mode
- Inverted Order: Newest backups at top for easy viewing
- Smart Timestamp Tracking:
Get-LastBackupTimestampnow tracks FULL backups only
Code Organization
- Relocated count-lines.py: Moved from
scripts/tomodules/line-counter/ - Explicit Config Path: Added
--configargument, PowerShell passes path explicitly - Better Path Resolution: No more guessing config location from script position
UI/UX
- Removed unnecessary horizontal separator bars from menus
- Cleaner, more consistent menu appearance
- "Last full backup" timestamp in menu (ignores TEST/DRY-RUN)
Bug Fixes
- Config Save Bug: Fixed exclusion management creating duplicate config.json in module folders
- Robocopy Flag Spacing: Fixed critical syntax error
/XJ$exclusions→/XJ $exclusions - Robust Path Resolution: Both exclusion management scripts now use Split-Path pattern
Config Changes
- Config version:
config.11→config.12 - New unified structure:
backupDev.exclusions.{directories,files} - Backward compatible with old structure (auto-migrates)
Installation
Update from previous version:
cd C:\AppInstall\dev\powershell-console\_dev
git pullWhat's Changed
Full Changelog: v1.13.3...v1.14.0