Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.25 KB

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.