# snapdir verify Verify the integrity of a staged snapshot. `verify` re-checks the objects of a staged snapshot against the checksums in its manifest, confirming nothing in the cache has drifted. See [Integrity](../concepts/integrity.md). ## Usage ```text snapdir verify [OPTIONS] ``` ### Options `verify` takes no positional arguments. It accepts the [global options](overview.md#global-options); the most relevant are `--id` (snapshot to verify), `--cache-dir`, and `--purge` (drop objects with invalid checksums). ## Examples Verify a staged snapshot by ID: ```console snapdir verify --id 1220abc... ``` Verify and purge any objects that fail their checksum: ```console snapdir verify --id 1220abc... --purge ``` ## See also - [`snapdir verify-cache`](snapdir-verify-cache.md) — verify the whole cache - [`snapdir stage`](snapdir-stage.md) — create a staged snapshot - [Integrity](../concepts/integrity.md)