# snapdir locations List directories and stores where snapshots have been recorded. `locations` queries the catalog and prints the directories and stores it has seen snapshots for. See the [History guide](../guide/history.md). ## Usage ```text snapdir locations [OPTIONS] ``` ### Options `locations` takes no positional arguments. It accepts the [global options](overview.md#global-options); the most relevant are `--catalog` and `--location` (scope the query to a directory or store). ## Examples List all known locations: ```console snapdir locations ``` List locations using a specific catalog adapter: ```console snapdir locations --catalog default ``` ## See also - [`snapdir revisions`](snapdir-revisions.md) — list snapshot IDs for one location - [`snapdir ancestors`](snapdir-ancestors.md) — list a snapshot's ancestors - [History guide](../guide/history.md)