Giter Site home page Giter Site logo

dirscomp's Introduction

Directory Comparison Tool

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.

Prerequisites

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.

Installation

  1. Clone this repository to your local machine using git:

    git clone https://github.com/yourusername/dirscomp.git
    cd dirscomp
  2. Build the project with Cargo:

    cargo build --release

    The --release flag builds the project in release mode, which optimizes the binary for performance.

Usage

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.

Features

  • Fast Comparison: Utilizes the BLAKE3 hashing algorithm for fast and secure content comparison.
  • Cross-platform: Runs on any platform that Rust supports, including Windows, macOS, and Linux.
  • Easy to Use: Simple command-line interface for straightforward operation.

Contributing

Contributions are welcome! If you have suggestions for improvements or encounter any issues, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

dirscomp's People

Contributors

qnfm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.