find "$directory" -type f -print0 | sort -z | xargs -0 md5 | md5

Date
May 19, 2024