command
module
Version:
v0.4.5
Opens a new window with list of versions in this module.
Published: Aug 22, 2024
License: BSD-2-Clause
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
About
Recursively walk directory trees and print message digest of regular files.
Unix-likes in general
Requirements
go 1.18 or above
Build
$ make
Usage
$ ./dirhash
usage: dirhash: [<options>] <paths>
-abs
Print file paths in absolute path
-debug
Enable debug print
-follow_symlink
Follow symbolic links unless directory
-h Print usage and exit
-hash_algo string
Hash algorithm to use (default "sha256")
-hash_only
Do not print file paths
-hash_verify string
Message digest to verify in hex string
-ignore_dot
Ignore entries start with .
-ignore_dot_dir
Ignore directories start with .
-ignore_dot_file
Ignore files start with .
-ignore_symlink
Ignore symbolic links
-sort
Print sorted file paths
-squash
Print squashed message digest instead of per file
-swap
Print file path first in each line
-v Print version and exit
-verbose
Enable verbose print
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.