dotweave track
Register local files or directories for syncing.
Track local files or directories for syncing.
Register one or more files or directories inside your home directory so dotweave can mirror them into the sync directory. If a target is already tracked, its mode is updated. Targets may also be repository paths inside a tracked directory to create child entries with a specific mode.
dotweave track <targets...> [flags]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<targets...> | One or more local paths or repository paths to track. |
| Flag | Description |
|---|---|
--mode <mode> | Sync mode: normal (default), secret, or ignore. |
--profiles <names> | Restrict syncing to specific profiles (comma-separated). |
--repoPath <path> | Repository-relative path under the profile directory. |
--verbose | Show detailed output. |
Examples
Section titled “Examples”Track a single config file:
dotweave track ~/.config/starship.tomlTrack a directory containing secrets:
dotweave track ~/.ssh --mode secretTrack a file restricted to a specific profile:
dotweave track ~/.config/work-proxy.conf --profiles workOverride the mode for a child path inside a tracked directory:
dotweave track .ssh/config --mode ignore