summaryrefslogtreecommitdiff
path: root/bin/hashl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-07-08 12:38:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-07-08 12:38:56 +0200
commit7cc60cd4f505634fd1d4cdb052ceb1769be4e3a0 (patch)
tree1c30ae5ba543f009b4593404f97440cb2d28f90a /bin/hashl
parenta5a6a29ebbb4a96cd957004cfb1c5c7685eced7d (diff)
Set read_size to zero take read whole files
Diffstat (limited to 'bin/hashl')
-rwxr-xr-xbin/hashl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/hashl b/bin/hashl
index 1c1f0ca..5d1f522 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -495,6 +495,9 @@ Change size of the part of each file which is hashed. By default, B<hashl>
hashes the first 4 MiB. Note that this option only makes sense when using C<<
hashl update >> to create a new database.
+A size of 0 (zero) makes hashl read whole files, i.e. turning it into sha1sum
+with a database.
+
=item B<-V>|B<--version>
Print version information.