title: for loop work at multiple directory depth
body: <p>I have the following for loop in bash:</p>
  
  <pre><code>for file in "$1"/*PM.mov ; do 
      ffmpeg -i "$file" -an -f framemd5 "${file}.framemd5.txt"
  done
  </code></pre>
  
  <p>I want to adjust it so that it will run on any *PM.mov file in a given directory regardless of the directory depth of that file. Right now the loop only runs on the top level of the directory. How do I change that?</p>