title: Bash scripting, loop through files in folder fails
body: <p>I'm looping through certain files (all files starting with MOVIE) in a folder with this bash script code:</p>
  
  <pre><code>for i in MY-FOLDER/MOVIE*
  do
  </code></pre>
  
  <p>which works fine when there are files in the folder. But when there aren't any, it somehow goes on with one file which it thinks is named MY-FOLDER/MOVIE*.</p>
  
  <p>How can I avoid it to enter the things after</p>
  
  <pre><code>do
  </code></pre>
  
  <p>if there aren't any files in the folder?</p>