A fast and efficient file tree comparison tool written in Rust.
RKD is short for "RotKraken Diff".
https://github.com/luxagen/rkd
RKD is a utility for comparing two file trees or log files and identifying differences between them. It's designed to work with the RotKraken (rk) tool for generating file hashes and can efficiently detect file creations, deletions, modifications, and moves/copies between directory trees.
- Compare two directory trees or log files
- Detect file creations, deletions, modifications, and moves/copies
- Efficiently handle large directory structures
- Filter out paths containing specific substrings
- Display common path prefixes or full paths
- Rust and Cargo
- The RotKraken (rk) tool for generating file hashes when comparing directory trees
cargo build --releaseThe compiled binary will be available at target/release/rkd.
rkd [OPTIONS] <left> <right>
<left>: Left-hand (before) tree or log file<right>: Right-hand (after) tree or log file
-x, --exclude <EXCLUDE>: Ignore paths containing this substring-t, --time: Print phase timings to stderr-P, --no-prefix: Omit common path prefix and show full paths-h, --help: Print help information-V, --version: Print version information
Compare two directory trees:
rkd /path/to/directory1 /path/to/directory2Compare two log files:
rkd log1.txt log2.txtCompare using stdin for one side:
some_command | rkd - /path/to/directoryExclude certain paths:
rkd --exclude=temp --exclude=cache /path/to/directory1 /path/to/directory2- RotKraken:
- GitHub: rotkraken
- Homepage: http://www.luxagen.com/product/rotkraken