How can find files then apply md5sum of all files?

  • What was the phrase you used for your web search so you didn't find the answer yourself? The find command is the obvious answer to finding files, and in the man page the -exec option is the obvious choice to execute something on the found files. I suggest to improve your searching skills, so you can answer questions like this by yourself in the future. – Philippos Sep 1 '17 at 7:33
find . -type f -exec md5sum {} +

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.