Check MD5 sums
Check MD5 sums
Description
Determine the MD5 sum of a set of input files.
All input files are sorted by filename (regardless of their directory) and concatenated for the MD5 creation. This is done to ensure equal MD5 checksums for equal sets of input files, regardless of the order the files are specified in.
Input files
- at least 1 input file (any file)
Output files
This script does not provide any output files.
Context
Parameters
- Expected MD5
- If you expect a certain MD5 sum, enter it here. If the determined checksum is different from the expected result, the script will exit with an error.
Default: empty
Source code
md5sum.rb, md5sum.yaml (GitHub)