diffdir

Crates.iodiffdir
lib.rsdiffdir
version0.4.4
sourcesrc
created_at2024-01-06 10:55:23.122082
updated_at2024-01-06 18:24:54.806418
descriptiondeep compare two directories for differences
homepage
repositoryhttps://github.com/VaheDanielyan/diffdir/
max_upload_size
id1090852
size27,405
Vahe Danielyan (VaheDanielyan)

documentation

https://docs.rs/crate/ddiff/

README

build status crates-io stability-beta

Diffdir

A command line tool to compare two directories.

Uses hashes to compares files with the same name. Also lists the unique files for both directories.

Installation

If you don't have rust installed, go ahead and Install Rust

Clone this repository

git clone git@github.com:VaheDanielyan/diffdir.git

Build and install

cargo install --path .

Usage

Usage: diffdir [OPTIONS] <dir a> <dir b>

Arguments:
  <dir a>
  <dir b>

Options:
      --ignore <IGNORE_PATTERNS>...
      --ignore-file <IGNORE_FILE>
      --quiet                        Surpress output
      --no-colors                    will not format into ansi string and / or include colors
  -h, --help                         Print help
  -V, --version                      Print version

Output

In Addition to the standard text output the program will return 42 if there are any differences between the directories and 0 in case of them being identical. This can be handy when calling this tool from other programs.

Commit count: 0

cargo fmt