Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 703 Bytes

File metadata and controls

43 lines (32 loc) · 703 Bytes

Create RECORD

Get file paths On all files

tree -s -i -f <dir>
shasum -a 256

Convert hashes hex reverse

xxd -r -p | base64
shasum -a256 */** | cut -f1 -d' '
shasum -a256 */** |  while read hex; do printf $hex,sha256=; echo $hex | awk '{print $1}' |  xxd -r -p | base64;  done | awk '{print $2}'
shasum -a256 */** |  while read hex; do printf $(printf $hex|awk '{print $2}'),sha256=; printf $hex | awk '{print $1}' |  xxd -r -p | base64 | sed 's/.$//'|tr -d '\n'; echo ,$(printf $hex | awk '{print $2}'| xargs cat | wc -c| awk '{print $1}'); done
unzip -l

Size

cat <file> | wc-c

Explain file-name format

...