Skip to content

Copy source files to new destination and use that destination as new source

License

Notifications You must be signed in to change notification settings

ittechsathish/gulp-copy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-copy

Copy source files to new destination and use that destination as new source

Automatically creates needed folders before proceeding. Ability to remove 'prefixes' from path>

Usage

var gulpCopy = require('gulp-copy');

return gulp.src(sourceFiles)
  .pipe(gulpCopy(outputPath, options));

Options

prefix: integer, defining how many parts of the path (separated by /) should be ignored as they are prefixes

Releases

0.0.2 Streams release

  • use nodejs streams to write files (instead of cp command)
  • fix callback issues (which probably will fix the too many open files bug)

0.0.1 Initial release

  • initial code

About

Copy source files to new destination and use that destination as new source

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%