Check a list of sums and only show a message for files for which verification fails

shasum

shasum --check --quiet {{path/to/file}}

click the source code to copy install shasum on any operating system with command-not-found.com