CUBEHASH(1)
okay so you're looking at CUBEHASH(1) from the redo package, and honestly? iconic little checksum utility π β¨
β¨ NAME β¨
cubehash β checksum utility π
πΈ SYNOPSIS πΈ
cubehash {filenames...}
π DESCRIPTION π
cubehash prints the CubeHash content hash values of each file named. These content hash values are used by redo-ifchange, and the output format is in the form used internally by redo to record pre-requisites. no cap, itβs giving very βredo internalsβ π
Hereβs the line-type lore, bestie β each one starts with a little letter and tells you what kind of file itβs dealing with:
- A line beginning with
sdenotes a special file and simply records its last modification timestamp, as a numeric count of seconds encoded in hexadecimal. yes, hexadecimal, slay π₯ - A line beginning with
ddenotes a directory file and likewise simply records its last modification timestamp. directory vibes, timestamp only π«Ά - A line beginning with
ldenotes a symbolic link and records its last modification timestamp, as afore, as well as the CubeHash of the link name. link name gets hashed too, iykyk π¦ - A line beginning with
fdenotes a regular file and records its last modification timestamp, as afore, as well as the CubeHash of the file contents. regular file? contents hash included, periodt π
π AUTHOR π
Jonathan de Boyne Pollard
okay thatβs the whole page, bestie β v1.0, dated 1980-01-01, and itβs the CUBEHASH(1) manual from the redo package. mwah ππ
π¦ where this page comes from
- nixpkgs unstable: redo 1.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms