#crc32 #check #filename #path #file-path

app ruri

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

3 stable releases

2.1.0 Jun 4, 2023
2.0.1 Aug 3, 2022
2.0.0 Jan 31, 2021

#5 in #crc32

Download history 4/week @ 2024-02-21 22/week @ 2024-02-28 31/week @ 2024-03-06 1/week @ 2024-03-13

58 downloads per month

AGPL-3.0-or-later

26KB
377 lines

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

Dependencies

~5–16MB
~172K SLoC