title: Gulp - how to collect images without `dir`and place in one folder?
body: <p>I am trying to collect the only images and placing in to dest folder. my images all are spreads across <code>bower_components</code> - so, I am getting no.of folder created. how to prevent this?</p>
  
  <p>here is my code :</p>
  
  <pre><code>gulp.task('copy-images', function() {
      return gulp.src('./WebContent/bower_components/**/*.{gif,jpg,png,svg}')
      .pipe(gulp.dest('./dist/css/images')); //creates no.of folders.
  });
  </code></pre>
  
  <p>I am getting all images, but all are nested inside of it's parent folders like where it was in original.</p>