ruri

Crates.ioruri
lib.rsruri
version2.1.0
sourcesrc
created_at2021-01-31 18:13:06.01154
updated_at2023-06-04 18:27:21.375627
descriptionCalculates the CRC-32 of files and checks them against their filename
homepage
repositoryhttps://gitlab.com/Timmy1e/ruri
max_upload_size
id348970
size81,065
Tim van Leuverden (Timmy1e)

documentation

README

Ruri

Pipeline status Crates version AUR version AUR version Homebrew tap

Calculates the CRC-32 of files and checks them against their filename.

Installation

From repo

Ruri is available in the following repos:

From release

  1. Download a pre-built binary archive from the releases page.
  2. Extract the archive.
  3. Move the executable to a logical location such as your /usr/bin/ or /usr/local/bin/ directory.

From source

Requirements

  • Rust >= 1.64
  1. Pull the project, or download an archive of the source from GitLab and extract it.
  2. Install a Rust toolchain.
  3. Run the following in the root directory to build an executable to ./bin/:
    $ cargo install --locked --bin ruri --path . --root .
    
  4. Move or link the exe executable to a logical location such as your /usr/bin/ or /usr/local/bin/ directory.

Usage

Usage: ruri [OPTIONS] [FILE_PATHS]...

Arguments:
  [FILE_PATHS]...  Paths to files you want to check

Options:
  -t, --threads <THREADS>  Override the amount of threads, 0 is CPU max [default: 0]
  -q, --quiet              Don't print progress bars, for piping to files
  -h, --help               Print help
  -V, --version            Print version

Basic examples:

$ ruri "myFile[ABCD1234].ext" myFiles*.ext
$ ruri -q myFiles*.ext > myFiles.crc32

Licence

GNU Affero General Public License v3.0 or later

Commit count: 30

cargo fmt