Exclude specific folders with Gulp -


if have following structure, how can exclude folders format "xx_yy" except "en_us" within gulp.src?

images/    |_ en_us/    |_ en_gb/ (this should ignored)    |_ de_de/ (this should ignored)    |_ etc etc... 

something should work you:

var images = [     'images/**/*',     '!images/en_gb/**/*',      '!images/de-de/**/*' ];  gulp.src(images)... 

Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -