multihash(1) FreeBSD General Commands Manual multihash(1)
NAME
multihash — create hash values for multiple algorithms for inputs |
SYNOPSIS
multihash [−hrs] [−f|−m] [−l str] [−o mode] 〈 |
algs〉 〈 input ...〉
DESCRIPTION |
multihash is a command-line tool for creating message digest (hash) values using multiple algorithms in parallel. Inputs can be given individually on the command-line, piped in through stdin(4) or passed through lists supplied in the previous two methods. Output is available in several formats compatible with other tools currently available. Agruments: |
algs
Comma-seperated list of message digest algorithms to perform for each input. input ... The following options are available: −f This mode is intended to be used is combination with tools like find(1). −l str −h −m −o mode −r −s Output Modes Available: openssl md5deep, md5sum delimited, tab, csv The tab and csv modes imply a tab-character and comma respectively. EXAMPLES |
Find all files in /path/name and compute the MD5 hash value. |
% find /path/name -type f | multihash -f md5 - |
Compute the SHA1 for all file-system objects under /path/name. |
% multihash -r sha1 /path/name |
Compute the MD5 and SHA1 values for file and display the output in comma-delimited output. |
% multihash -o csv md5,sha1 file |
Compare /path/1 and /path/2 to be sure both contain the same files and that the files produce the same hashes. |
% multihash -mr md5 /path/1 /path/2 |
AUTHOR
Ryan Sommers 〈ryans@gamersimpact.com〉 |
COPYRIGHT
multihash is copyright Ryan Sommers 〈ryans@gamersimpact.com〉 OpenSSL copyright information is available at http://www.openssl.org/ md5deep was written by Jesse Kornblum 〈md5deep@jessekornblum.com〉 FreeBSD 6.0 July 24, 2005 FreeBSD 6.0 |