Crates.io | tree-snapshot |
lib.rs | tree-snapshot |
version | 0.1.0 |
source | src |
created_at | 2024-06-07 15:30:46.911045 |
updated_at | 2024-06-07 15:30:46.911045 |
description | A tool to create and manage snapshots of directory trees. |
homepage | https://github.com/schwa/tree-snapshot-rs |
repository | https://github.com/schwa/tree-snapshot-rs |
max_upload_size | |
id | 1264928 |
size | 47,633 |
A simple tool to take a snapshot of a directory tree and save it to a file.
The snapshot is a .csv file that is sorted by the path of each file in the directory tree. Each record in the output has fields for metadata and optionally a SHA256 hash of the file contents. Xattr metadata are also saved in the snapshot - and their contents are also hashed.
This tool is useful for creating a snapshot of a directory tree that can be used to compare against another snapshot to determine if any files have been added, removed, or changed.
cargo install tree-snapshot
tree-snapshot <directory> --output <output-file>
MIT