snapdir id
Print the manifest ID of a directory or a manifest piped via stdin.
The ID is the content address of the snapshot: the same tree always yields the same ID. See Content addressing.
Usage
snapdir id [OPTIONS] [PATH]
Arguments
Options
id accepts the global options, notably
--checksum, --exclude, and --paths.
Examples
Print the ID of a directory:
snapdir id ./project
Pipe a manifest in to compute its ID without re-walking the tree:
snapdir manifest ./project | snapdir id
See also
snapdir manifest— produce the manifest the ID is computed from- Content addressing