Go to file
2024-03-29 17:01:13 -04:00
src . 2024-03-29 17:01:13 -04:00
.gitignore init 2024-03-18 15:33:42 -04:00
Cargo.toml . 2024-03-29 16:17:48 -04:00
LICENSE Initial commit 2024-03-18 15:27:58 -04:00
README.md . 2024-03-29 16:51:43 -04:00

sys-compare

Check Filesystem Integrity via "Snapshots" containing hash of all files within specified directories.

Installation

cargo install --path ./

Modes

Usage: sys-compare <COMMAND>

Commands:
  create   
  compare  
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Create Snapshot

Usage: sys-compare create --root-dir <ROOT_DIR> --output-path <OUTPUT_PATH>

Options:
  -r, --root-dir <ROOT_DIR>        
  -o, --output-path <OUTPUT_PATH>  
  -h, --help                       Print help

Compare Snapshots

Usage: sys-compare compare [OPTIONS] --left <LEFT> --right <RIGHT>

Options:
  -l, --left <LEFT>            
  -r, --right <RIGHT>          
  -s, --selection <SELECTION>  
  -c <COUNT_ONLY>              [possible values: true, false]
  -h, --help                   Print help

Development and Collaboration

Feel free to open a pull request, please run the following prior to your submission please!

echo "Run clippy"; cargo clippy -- -D clippy::all
echo "Format source code"; cargo fmt -- --check