cpr
cpr copied to clipboard
Nodejs cp -R
Given a file named "changed.txt" with the contents: ``` changed-v1 ``` And with the following code added to the `copyFile` function: ```js fromFile.on('error', onError); toFile.on('error', onError); fromFile.once('end', function() { cb(err);...
…with [AppVeyor](https://appveyor.com). If you set up the [free] account, I can upload the config file.
to exclude [junk](https://npmjs.com/junk) files (such as .DS_Store). This could be made available to the CLI and would reduce project dependencies.
This doesn't seem to support the *NIX `cp` commands base functionality `cp foo bar baz qux` which would copy all files into `qux`
To suppress errors if the source did not exist (`ENOENT`). Errors should still be thrown if the user's permissions were insufficient.
Hey, I'm curious if interest exists in introducing some throttling on IO, this would be to prevent overwhelming the system when copying large trees. Or maybe a recommendation for preventing...
I was having a difficult time filtering _out_ files with node `ncp` from npm, because negating a regex in JS is generally hard, but with `cpr` filtering _excludes_ files instead...