"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.2.5/littleutils/filehash.1" (29 Oct 2021, 4207 Bytes) of package /linux/privat/littleutils-1.2.5.tar.lz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "filehash.1": 1.2.4_vs_1.2.5.

FILEHASH

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
COPYRIGHT

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)] [−b(ase64url)] [−c(lassic)] [−f file_list] [−h(elp)] [−n byte_count] [−o offset] [−p(ipe)] [−q(uiet)] [−s(ize)] [−v(erbose)] [file...]

DESCRIPTION

filehash prints out various hashes (MD5, SHA1, SHA224, SHA256, SHA384, SHA512, BLAKE2B-256, and/or BLAKE2B-512) digests and (optionally) filesizes 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.

−b

Print each filehash in unpadded "base64url" encoding instead of hexadecimal.

−c

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

−f filelist

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

−h

Print help and quit.

−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 multiple files. The −f and −p options can be used simultaneously with filenames 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-2021 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 published 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 MERCHANTABILITY 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/publicdomain/zero/1.0
- OpenSSL license : https://www.openssl.org/source/license.html
- Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0