title: Globbing pattern to exclude files in directory, but include subdirectories
body: <p>I have the following file hierarchy:</p>
  
  <pre><code>scripts
      someConfigFile.js
      anotherConfigFile.js
  
      someModuleDirectory
          someModule.js
  
      anotherModuleDirectory
          anotherModule.js
  
          subDirectory
              thirdModule.js
  </code></pre>
  
  <p>I want to match all the files in the module directories, but excude the config files contained in the <code>scripts</code> directory itself, using <a href="https://github.com/isaacs/node-glob" rel="noreferrer">Glob</a>:</p>
  
  <pre><code>var glob = require('glob');
  
  console.log(glob.sync(unknownGlobPattern));
  </code></pre>
  
  <p>Required output (unordered):</p>
  
  <pre><code>[
      'someModuleDirectory/someModule.js',
      'anotherModuleDirectory/anotherModule.js',
      'anotherModuleDirectory/subDirectory/thirdModule.js'
  ]
  </code></pre>