create list of all files in every subdirectories in bash
bash, linux, list, loops, subdirectory
Solution
There is a very easy way of doing this with find:
find . -type f -exec md5 {} \;
The command finds all files (`-type f`), and executes the command md5 on each file (`-exec md5 {} \;`).
Problem
I trying to write script in bash which will loop over all subdirectories, starring from given path, and will create list with md5 sums of all files in current directory. I need something like `ls -R`, but I'm not sure how to start