Crates.io | dirscomp |
lib.rs | dirscomp |
version | 0.2.2 |
source | src |
created_at | 2024-08-25 11:11:59.700667 |
updated_at | 2024-08-25 11:11:59.700667 |
description | A tool for comparing two directories using BLAKE3 hashing. |
homepage | https://github.com/qnfm/dirscomp |
repository | https://github.com/qnfm/dirscomp |
max_upload_size | |
id | 1350998 |
size | 11,691 |
This tool compares files between two directories, identifying unique files in each directory and files that have identical content but are located in different directories. It uses the BLAKE3 hashing algorithm for efficient and secure file content comparison.
To use this tool, you must have Rust and Cargo installed on your machine. If you haven't installed Rust and Cargo yet, you can follow the instructions here.
Clone this repository to your local machine using git:
git clone https://github.com/yourusername/dirscomp.git
cd dirscomp
Build the project with Cargo:
cargo build --release
The --release
flag builds the project in release mode, which optimizes the binary for performance.
After building the project, you can run the tool using Cargo or directly from the target directory. To use Cargo, navigate to the project root directory and run:
cargo run -- <path_to_directory1> <path_to_directory2>
Alternatively, you can run the compiled binary in target/release directly:
dirscomp <path_to_directory1> <path_to_directory2>
Replace <path_to_directory1>
and <path_to_directory2>
with the paths to the directories you wish to compare.
Contributions are welcome! If you have suggestions for improvements or encounter any issues, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.