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

Argument Description
[PATH] Directory to describe.

Options

In addition to the global options, manifest accepts:

Option Description
--absolute Emit absolute paths instead of ./-relative paths.
--no-follow Do not follow symbolic links (plain find instead of find -L).
--checksum-bin <NAME> Checksum binary to mirror: b3sum (default), md5sum, sha256sum.
--catalog <NAME> Catalog adapter to use (env: SNAPDIR_CATALOG).

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