I am trying to execute a gulp task that copies all files inside a folder to another folder
gulp.task('copy-fonts', ['unzip'], function() { return gulp.src('./gulp-tmp/**/fonts/*') .pipe(gulp.dest('fonts')); });
The problem is that the directory name after gulp-tmp changes, so I had to use ** there.
Thus, the result ends as /fonts/[randomFolderName]/fonts/[the files]
Where I want /fonts/[the files]
Casper
source share