-c, --check
Read checksums from the FILEs and check them.
An option of sha512sumx.
Usage
sha512sumx -c [FILE]...
sha512sumx --check [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-c | --check | none | read checksums from the FILEs and check them |
Examples
Verify the download against the publisher's checksum file, which lists other files too
sha512sumx -c --ignore-missing sha512.sumsubuntu-24.04-desktop-amd64.iso: OKIn CI, fail the build when a vendored file was changed by hand
sha512sumx -c --status vendor.sha512sums || { echox 'vendored files changed' >&2; exit 1; }Re-check a large archive set and show only what no longer matches
sha512sumx -c --quiet sha512.sumsnotes.txt: FAILED
sha512sumx: WARNING: 1 computed checksum did NOT matchRefuse a checksum list with malformed lines instead of skipping them
sha512sumx -c --strict -w sha512.sumsHelp in the terminal
gnux help sha512sumx --check