You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `--silent` to suppress all output when running the script from cron jobs. Note that `--silent` and `--no-csv` cannot be combined.
73
+
71
74
### Interactive mode
72
75
Run without parameters to open a menu for selecting the datastore and the search path:
73
76
@@ -135,19 +138,21 @@ Notes:
135
138
|--------|-------------|-------------|---------|
136
139
|`--datastore`| Required (script mode) | PBS datastore name that contains the object you want to analyse | — |
137
140
|`--searchpath`| Required (script mode) | Object path inside the datastore (e.g. `/ns/MyNamespace` or `/ns/MyNamespace/vm/100`) | — |
138
-
|`--all-guests`| Optional | Scan the entire datastore (or only the namespace given via `--searchpath`), print a per-guest size summary, and write a CSV report (requires `--datastore`) | — |
141
+
|`--all-guests`| Optional | Scan the entire datastore (or only the namespace given via `--searchpath`), print a per-guest size summary, and write a CSV report unless `--no-csv` is set (requires `--datastore`) | — |
139
142
|`--threads`| Optional | Degree of parallelism for parsing index files and statting chunks |`2 × CPU cores (max 32)`|
140
143
|`--no-emoji`| Optional | Replace emoji icons in CLI output with ASCII labels | Emoji output |
144
+
|`--silent`| Optional | Suppress all output (useful for cron jobs; cannot be combined with `--no-csv`) | Disabled |
141
145
|`--show-comments`| Optional | Show a short guest label derived from the latest snapshot comment next to each VM/CT in per-guest summaries and interactive path selection | Disabled |
142
-
|`--csv-dir`| Optional | Directory where the CSV report for `--all-guests` is written | Current working directory |
146
+
|`--no-csv`| Optional | Disable writing the CSV report for `--all-guests` (cannot be combined with `--silent`) | Enabled |
147
+
|`--csv-dir`| Optional | Directory where the CSV report for `--all-guests` is written (ignored with `--no-csv`) | Current working directory |
143
148
|`--version`| Optional | Show the script version and exit | — |
144
149
|`--update`| Optional | Check for new releases and offer self-update, then exit | — |
145
150
146
151
---
147
152
148
153
### CSV output for full datastore scans
149
154
150
-
When running with `--all-guests`, the script writes a CSV report **after** the scan finishes.
155
+
When running with `--all-guests`, the script writes a CSV report **after** the scan finishes unless `--no-csv` is set.
151
156
152
157
- File name: ISO 8601 timestamp, e.g. `2025-07-01T12:34:56.csv`
153
158
- Output directory: current working directory by default, or via `--csv-dir` / the Options overlay
0 commit comments