Files
df/tree/.local/nu/shadir.nu
T
2026-09-23 15:45:24 +02:00

6 lines
162 B
Nu

def shadir [
p: path, # Path to the directory to be sha256summed
]: nothing -> string {
(^find $p -type f -print0 | xargs -0 sha256sum | ^sort | sha256sum)
}