dirhash

command module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: BSD-2-Clause Imports: 18 Imported by: 0

README

dirhash (v0.4.4)

About

Recursively walk directory trees and print message digest of regular files.

Supported platforms

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL