For example, I have several MPEG files in different subfolders and I'd like to create a MD5SUM file next to them:
Code: Select all
find BASE_FOLDER -name "*.mpg" -type f -execdir md5sum {} > MD5SUMS \;
Code: Select all
find BASE_FOLDER -name "*.mpg" -type f -execdir md5sum {} > MD5SUMS \;