manpagez: man pages & more
man filehash(1)
Home | html | info | man
filehash(1)                                                        filehash(1)




NAME

       filehash  -  print various hash digests and filesizes for the specified
       files or subsets of those files


SYNOPSIS

       filehash [-1(MD5)] [-2(SHA1)]  [-3(SHA224)]  [-4(SHA256)]  [-5(SHA384)]
       [-6(SHA512)]     [-7(BLAKE2B_256)]    [-8(BLAKE2B_512)]    [-c(lassic)]
       [-f  file_list]  [-h(elp)]  [-n  byte_count]  [-o   offset]   [-p(ipe)]
       [-q(uiet)] [-s(ize)] [file...]


DESCRIPTION

       filehash  prints out various hashes (MD5, SHA1, SHA224, SHA256, SHA384,
       SHA512, BLAKE2B-256, and/or BLAKE2B-512) digests and (optionally) file-
       sizes  for  the specified files.  Hashes for subsets of those files can
       also be requested.  It is called as part of the repeats script.


OPTIONS

       -1     Include the MD5 hash (128 bits) as part of the filehash  output.

       -2     Include the SHA1 hash (160 bits) as part of the filehash output.

       -3     Include the SHA224 hash as part of the filehash output.

       -4     Include the SHA256 hash as part of the filehash output.

       -5     Include the SHA384 hash as part of the filehash output.

       -6     Include the SHA512 hash as part of the filehash output.

       -7     Include the BLAKE2B hash (at 256 bits) as part of  the  filehash
              output.

       -8     Include  the  BLAKE2B hash (at 512 bits) as part of the filehash
              output.

       -c     Print output in the "classic"  format,  with  one  filehash  per
              line.  This overrides the -q and -v options.

       -h     Print help and quit.

       -f filelist
              Read the names of files to be processed from the specified file.

       -n byte_count
              Read only the first byte_count bytes from each specified file.

       -o offset
              Seek past the first offset bytes in each specified  file  before
              beginning  filehash  computations.  Specifying an offset that is
              greater than or equal to the length of the file yields the  same
              result as a zero-length file.

       -p     Read the names of files to be processed from stdin.

       -q     Quiet output.  Do not print the filename with program output.

       -s     Include the filesize as part of the filehash output.

       -v     Verbose output.  Print the filename with the program output.


NOTES

       The  program defaults to quiet for a single file and verbose for multi-
       ple files.  The -f and -p options can be used simultaneously with file-
       names  specified  on the command-line.  If no hash option is specified,
       then the SHA256 hash will be used by default.


COPYRIGHT

       Main filehash program Copyright (C) 2004-2020 Brian Lindholm.

       Original  MD5  routine  written  by  Ulrich  Drepper.   Copyright   (C)
       1995-1997,  1999-2001,  2005-2006,  2008-2020 Free Software Foundation,
       Inc.

       Original SHA1 routines written  by  Scott  G.  Miller.   Copyright  (C)
       2000-2001, 2003-2006, 2008-2020 Free Software Foundation, Inc.

       Original  SHA224,  SHA256, SHA384, and SHA512 routines written by David
       Madore and Scott G. Miller.  Copyright (C)  2005-2006,  2008-2020  Free
       Software Foundation, Inc.

       This  program is free software; you can use it, redistribute it, and/or
       modify it under the terms of the GNU General  Public  License  as  pub-
       lished  by  the Free Software Foundation; either version 3, or (at your
       option) any later version.

       This program is distributed in the hope that it  will  be  useful,  but
       WITHOUT  ANY  WARRANTY;  without  even  the  implied  warranty  of MER-
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General
       Public License for more details.

       Original  BLAKE2B routines by Samuel Neves, 2012.  Used under the terms
       of the CC0, the OpenSSL License, and/or the Apache Public License  2.0.
       The terms of these licenses can be found at:

          -   CC0   1.0   Universal   :  https://creativecommons.org/publicdo-
       main/zero/1.0
          - OpenSSL license   : https://www.openssl.org/source/license.html
          - Apache 2.0        : https://www.apache.org/licenses/LICENSE-2.0



littleutils                       2020 Oct 16                      filehash(1)

littleutils 1.2.3 - Generated Thu Dec 3 07:42:20 CST 2020
© manpagez.com 2000-2021
Individual documents may contain additional copyright information.