I can check the content of several files in a directory against checksums contained in a file named for example SHA256SUMS with sha256sum -c SHA256SUMS.
Is there an easy way to generate a SHA256SUMS file for all files in a directory?
What is the exact syntax of the SHA256SUMS file and where is the documentation (if any) of that syntax?