snapdir manifest
Print the manifest of a directory.
The manifest is the canonical, line-oriented description of a directory tree — its checksummed entries are what the snapshot ID is derived from. See Manifests for the format.
Usage
snapdir manifest [OPTIONS] [PATH]
Arguments
Options
In addition to the universal output options,
manifest accepts:
The input tree should be quiescent while snapdir walks it. If files change,
vanish, or directory structure changes during the walk, manifest fails with an
in-flux error such as file changed during walk, file vanished during walk,
or tree structure changed during walk.
Examples
Print the manifest of the current directory:
snapdir manifest .
Print a manifest with absolute paths and excluding a directory:
snapdir manifest --absolute --exclude '\.git/' ./project
See also
snapdir id— derive the ID from a manifestsnapdir stage— record a snapshot into the cache- Manifests
- Creating a manifest without snapdir —
the format recreated by hand with
b3sum