find -type f -name "*.avi" -exec md5sum {} + > checklist.chk
find -type f -name "*.mp4" -exec md5sum {} + > checklist.chk
How to combine these two commands?
-
Either by combining both search terms in one command or
-
So that each command adds its output to the same file.
Hope it's clear what I am trying to do.
Best Answer
Combining:
Adding output to one file: