6 lines
162 B
Nu
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)
|
|
}
|