Created
December 12, 2025 10:37
-
-
Save bmr-cymru/1f0d584b2465bc1976819eeb8464c621 to your computer and use it in GitHub Desktop.
snapm snapset diff --help
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| usage: snapm snapset diff [-h] [-t] [-p] [-w] [-c] [--include-system-dirs] [-C] [-f] [-F] [-m MAX_FILE_SIZE] [-d MAX_DIFF_SIZE] [-H MAX_HASH_SIZE] [-i [INCLUDE_PATTERN ...]] | |
| [-x [EXCLUDE_PATTERN ...]] [-s PATH] [-o FORMAT] | |
| FROM TO | |
| positional arguments: | |
| FROM Compare from snapshot set name or '.' for running system | |
| TO Compare to snapshot set name or '.' for running system | |
| options: | |
| -h, --help show this help message and exit | |
| -t, --ignore-timestamps | |
| Ignore timestamps when computing diffs | |
| -p, --ignore-permissions | |
| Ignore permissions when computing diffs | |
| -w, --ignore-ownership | |
| Ignore ownership when computing diffs | |
| -c, --content-only Only consider content changes | |
| --include-system-dirs | |
| Include system directories in diff comparisons (unimplemented) | |
| -C, --no-content-diff | |
| Do not generate content diffs for detected file modifications | |
| -f, --file-types Generate file type information using libmagic | |
| -F, --follow-symlinks | |
| Follow symlinks when walking file system trees | |
| -m, --max-file-size MAX_FILE_SIZE | |
| Maximum file size for comparisons (0=unlimited) | |
| -d, --max-diff-size MAX_DIFF_SIZE | |
| Maximum file size for generating content diffs (default: 1MiB) | |
| -H, --max-hash-size MAX_HASH_SIZE | |
| Maximum file size for generating content hashes (default: 1MiB) | |
| -i, --include-pattern [INCLUDE_PATTERN ...] | |
| File patterns to include (glob notation) | |
| -x, --exclude-pattern [EXCLUDE_PATTERN ...] | |
| File patterns to exclude (glob notation) | |
| -s, --start-path PATH | |
| Start traversal from PATH | |
| -o, --output-format FORMAT | |
| Output format for diff data (raw, json, tree, diff) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment