8 releases (4 breaking)

0.6.1 Aug 19, 2024
0.6.0 Oct 5, 2023
0.5.2 Mar 22, 2023
0.5.1 Oct 15, 2022
0.1.0 Aug 4, 2020

#127 in Filesystem

Download history 5/week @ 2024-07-29 168/week @ 2024-08-19 4/week @ 2024-08-26 9/week @ 2024-09-16 22/week @ 2024-09-23 10/week @ 2024-09-30 1/week @ 2024-10-07

385 downloads per month

BSD-3-Clause

480KB
11K SLoC

Hoard

Netlify Status FOSSA Status

hoard is a program for backing up files from across a filesystem into a single directory and restoring them later.

Most people will know these programs as "dotfile managers," where dotfiles are configuration files on *nix (read: non-Windows) systems. Files on *nix systems are marked as hidden by starting the file name with a dot (.).

Documentation

You can find all documentation at https://hoard.rs.

Configuration

See config.toml.sample for a documented example configuration file.

Testing

Hoard's runtime behavior depends on environment variables, which the tests override to prevent polluting the developer's system and/or home directory. Because of this, tests must be run in one of two ways:

  1. Single-threaded, using cargo make test-single-thread or cargo test -- --test-threads=1.
  2. As separate processes with their own environments, using cargo make test-nextest or cargo nextest run.
  • cargo-make should install the dependency automatically. Otherwise, run cargo install cargo-nextest.

Tests can also be run in a container using cargo make docker-tests.

License

FOSSA Status

Dependencies

~16–59MB
~1M SLoC