append-xxhsum

module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: CC0-1.0

README

Static Badge

append-xxhsum

Recursively adds missing xxhsum (XXH64) hashes from PATH to --xxhsum-filepath.

Usage

append-xxhsum [--xxhsum-filepath FILEPATH] \
  [--bsd-style] [--verbose] [--debug] [--help] \
  PATH

Arguments

arg description
PATH PATH to analyze

Parameters

param long-param description
-x --xxhsum-filepath FILEPATH of file to append to. Defaults to PATH\..\DIRNAME.xxhsum
-b --bsd-style BSD-style checksum lines. Defaults to GNU-style
-v --verbose increase the verbosity
-d --debug show debug information
-h --help show this help message and exit

To verify use xxhsum --check --quiet FILEPATH

Test run
pushd ~/Pictures >/dev/null \
  && time ~/Code/golang/append-xxhsum/bin/append-xxhsum-amd64 ../Code \
  && popd >/dev/null
Cross-compilation for ARM

Use export GOOS=linux && export GOARCH=arm64 before running go build.

Use lscpu to find out architecture. Check this guide for export values.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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