title: Test if file exist, bash script
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/91368/checking-if-a-directory-contains-files">Checking if a directory contains files</a>  </p>
  </blockquote>
  
  
  
  <p>I want to see if a directory is empty, so I am using <code>[</code> as follows:</p>
  
  <pre><code>[ -f "./ini/*"]
  </code></pre>
  
  <p>And the return value is always 1, even though the directory is not empty.
  Any ideas what's wrong?</p>