https://github.com/schwa/tree-snapshot-rs
A simple tool to save a snapshot of a directory tree.
https://github.com/schwa/tree-snapshot-rs
Last synced: 10 days ago
JSON representation
A simple tool to save a snapshot of a directory tree.
- Host: GitHub
- URL: https://github.com/schwa/tree-snapshot-rs
- Owner: schwa
- License: mit
- Created: 2024-06-07T15:17:15.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-08T20:25:13.000Z (about 1 month ago)
- Last Synced: 2025-05-01T19:22:33.226Z (16 days ago)
- Language: Rust
- Size: 68.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-snapshot
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.
## Purpose
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.
## Installation
```sh
cargo install tree-snapshot
```## Usage
```sh
tree-snapshot --output
```## License
MIT