Package Exports
- copyfiles
- copyfiles/copyfiles
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (copyfiles) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
copyfiles 
copy files easily
Install
npm install copyfiles -gCommand Line
copy some files, give it a bunch of arguments, (which can include globs), the last one is the out directory (which it will create if necessary).
copyfiles foo foobar foo/bar/*.js outyou now have a directory called out, with the files foo and foobar in it, it also has a directory named foo with a directory named bar in it that has all the files from foo/bar that match the glob.
If all the files are in a folder that you don't want in the path out path, ex:
copyfiles something/*.js outwhich would put all the js files in out/something, you can use the --up (or -u) option
copyfiles -u 1 something/*.js outwhich would put all the js files in out
Programic API
var copyfiles = require('copyfiles');
copyfiles([paths], up, callback);takes an array of paths, last one is the destination path, also takes an optional up argument which is the same as the command line option.