@lumy-pack/syncpoint 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,11 @@
3
3
  # ──────────────────────────────────────────
4
4
 
5
5
  backup:
6
- # (Required) List of files/directories to backup. Supports ~ expansion and glob patterns.
6
+ # (Required) List of files/directories to backup.
7
+ # Supports three pattern types:
8
+ # - Literal paths: ~/.zshrc, /usr/local/bin/tool
9
+ # - Glob patterns: ~/.config/*.conf, **/*.yml
10
+ # - Regex patterns: /\.conf$/, /\/temp\// (scans ~/ with depth limit 5)
7
11
  targets:
8
12
  - ~/.zshrc
9
13
  - ~/.zprofile
@@ -11,11 +15,17 @@ backup:
11
15
  - ~/.gitignore_global
12
16
  - ~/.ssh/config
13
17
  - ~/.config/starship.toml
18
+ # Example regex: /\.toml$/ (finds all .toml files in home directory)
14
19
 
15
- # (Required) List of glob patterns to exclude from backup.
20
+ # (Required) List of patterns to exclude from backup.
21
+ # Supports glob and regex patterns. Applied to all target types.
22
+ # Examples:
23
+ # - Glob: "**/*.swp", "**/.DS_Store", "**/node_modules/**"
24
+ # - Regex: "/\\.bak$/", "/\\.tmp$/", "/\\.(cache|log)$/"
16
25
  exclude:
17
26
  - "**/*.swp"
18
27
  - "**/.DS_Store"
28
+ # Example regex: "/\\.bak$/" (excludes all .bak files)
19
29
 
20
30
  # (Required) Backup archive filename pattern.
21
31
  # Available variables: {hostname}, {datetime}