3 stable releases
2.1.0 | Jun 4, 2023 |
---|---|
2.0.1 | Aug 3, 2022 |
2.0.0 | Jan 31, 2021 |
#185 in Compression
30 downloads per month
26KB
377 lines
Ruri
Calculates the CRC-32 of files and checks them against their filename.
Installation
From repo
Ruri is available in the following repos:
- Arch Linux AUR: ruri, ruri-bin
- Crates.io: ruri
- Homebrew: Timmy1e/tap/ruri
From release
- Download a pre-built binary archive from the releases page.
- Extract the archive.
- Move the executable to a logical location such as your
/usr/bin/
or/usr/local/bin/
directory.
From source
Requirements
- Rust >= 1.64
- Pull the project, or download an archive of the source from GitLab and extract it.
- Install a Rust toolchain.
- Run the following in the root directory to build an executable to
./bin/
:$ cargo install --locked --bin ruri --path . --root .
- 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
~6–18MB
~179K SLoC