title: linux find prune
body: <p>I am trying to exclude two directories; vntvdone and downloading, but for some reason, my command still goes in there and outputs the file within it:</p>
  
  <pre><code>find -name '*.avi' -o -name '*.mkv' -o -name '*.mp4' -o -name '*.VOB' -o -path './downloading' -prune -o -path './vntvdone' -prune
  </code></pre>
  
  <p>I am also running into problems where if a folder/directory that has .mp4 in it, it also gets treated as a file as well... how can we do this search only for files and not folders?</p>