I have a a directory with a structure like so:
. ├── Test.txt ├── Test1 │ ├── Test1.txt │ ├── Test1_copy.txt │ └── Test1a │ ├── Test1a.txt │ └─
Use find command to list all files in directory tree, then use xargs to provide input to md5sum command
find dirname -type f | xargs md5sum > checksums.md5