diff --git a/README.md b/README.md index 3c385e5..b0c9090 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,8 @@ cc sync # fetch and apply an immutable remote snapshot cc status # show drift and the last run cc sync -ConfigsOnly # fetch and deploy configs; do not call WinGet cc apply -ForceConfigs # back up local edits, then replace them +cc configs # show repository and live computer config paths +cc configs -Config helix-config # show paths for one managed config cc restore -Config helix-config # restore the newest backup cc doctor # inspect prerequisites and sources cc menu # optional numbered menu @@ -128,6 +130,27 @@ paths come from the original desktop session even when different administrator credentials approve the package work. A required reboot is reported with exit code `6`; Config Central never reboots the machine itself. +## Find and update configuration sources + +Run `cc configs` on a managed computer to see the repository source and resolved +live destination for every config. `Present` means the computer destination +exists; `Missing` means the application has not created it yet. Use `-Config +NAME` to select one entry, or `-Json` for structured output: + +```powershell +cc configs +cc configs -Config ontime-style +cc configs -Config xnviewmp-settings -Json +``` + +For a `copy` config, close the application, copy the live computer file to the +reported repository path, and review `git diff` before committing it. For an +`ini-overlay`, copy only the portable keys you intend to manage; do not replace +the overlay with the entire application file. Use +`tools\Export-MpcHcSettings.ps1` for the MPC-HC registry declaration. Never copy +the complete Nextcloud config because it can contain account and authentication +data. + ## Config conflicts and recovery Config Central stores the hash it last deployed. A different destination hash,