PARALLEL-SUMS(1)

πŸ’… PARALLEL-SUMS πŸ’…

okay bestie, this is the parallel-sums page from the General Commands Manual β€” and she's a servant, she's a worker, she reads your files exactly once and pops out a whole army of checksums at the same time. no cap. ✨


✨ NAME ✨

parallel-sums β€” calculate checksums in parallel using multiple algorithms 🧚


🌸 SYNOPSIS 🌸

parallel-sums --algo1 ALGO1FILE [--algo2 ALGO2FILE ... --algoN
ALGONFILE] file1 [file2 ... fileN

parallel-sums --help
yes the bracket situation up there is a little unhinged, but that's literally what the man page says, so we're keeping it exactly like that. don't come for me πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

so parallel-sums exists to make creating checksum files with multiple algorithms faster and easier. that's it, that's the girlboss mission. πŸ’…

the way that it's built: it only reads the data from each input file once, and it spawns a new thread per checksum algorithm you asked for, so all the calculations run in parallel. one read, many sums, zero wasted effort. iconic behavior, honestly. πŸ‘‘

here's the vibe: you give it the list of checksum algorithms you want, plus the output filename for each checksum type, and then you pass in the list of files. easy peasy.

and the output? it's intended to be 100% compatible with the file formats of existing tools like md5sum, sha256sum etc. so your downstream tooling won't even notice she's different. 🫢

  • --algo ALGOSUMS β€” checksum all the input files using the algorithm algo, and write those checksums out to the file ALGOSUMS. (swap algo for whichever algorithm you're repping, and ALGOSUMS for whatever filename you want. ✨)
  • --help β€” prints usage information and lists all the checksum algorithms that are supported. your little cheat sheet, bestie. πŸŽ€

πŸ”₯ EXAMPLES πŸ”₯

parallel-sums --md5sum MD5SUMS --sha256sum SHA256SUMS *.iso

what's happening here, step by step, because you deserve to know: this reads all the files matching the pattern *.iso. then, in parallel, it checksums each file using the MD5 algorithm (writing to "MD5SUMS") and checksums each file using the SHA256 algorithm (writing to "SHA256SUMS"). two algorithms, one pass over your data, two output files. ate and left no crumbs. πŸ˜­πŸ’–


πŸ‘€ SEE ALSO πŸ‘€

md5sum(1), sha1sum(1), sha256sum(1) and sha512sum(1).


Copyright 2017-2019 Steve McIntyre (steve@einval.com)

parallel-sums may be copied under the terms and conditions of version 2 of the GNU General Public License, as published by the Free Software Foundation (Cambridge, MA, USA).


🌈 AUTHOR 🌈

Written by Steve McIntyre (steve@einval.com)


and that's the whole page, bestie!! this one comes to you from the Jigit jigdo tools, dated February 2019 β€” love that for us. now go checksum something, you main character. πŸŽ€βœ¨πŸ’