Crate hoard[][src]

Expand description

A CLI program for managing files across multiple devices.

You can think of hoard as a dotfiles management tool, though its intended use extends beyond that. hoard can be used for backing up and restoring any kind of file from/to any location on the filesystem. In fact, the original purpose behind writing it was to synchronize save files for games that don’t support cloud saves.

Terminology

The following terms have special meanings when talking about hoard.

  • Hoard: A collection at least one Pile.
  • Pile: A single file or directory in a Hoard.
  • Environment: A combination of conditions that can be used to determine where to find files in a Pile.

Re-exports

pub use config::Config;

Modules

Types that validate (check) Hoard configurations

A Combinator provides a newtype to parse a two-dimensional list of items as a collection of AND-ed and OR-ed elements. Every item in the outer list is OR-ed, while every item in an inner list is AND-ed. That is, for

Expand environment variables inside of a path.

Provides filters for determining whether a path should be backed up or not.

Constants

The default file stem of the configuration file (i.e. without file extension).

The name of the directory containing the backed up hoards.