cpr
cpr copied to clipboard
Nodejs cp -R
Hi, this patch looks enough to update mkdirp dependency to ^1.0.3: ```patch --- a/lib/index.js +++ b/lib/index.js @@ -121,12 +121,12 @@ err.errno = 27; options.errors.push(err); } else { - mkdirp(to, stat.mode,...
This PR adds power support on travis.
How to reproduce: 1. Create file structure like this: ```bash mkdir -p src/bar # create nested folders touch src/bar/test.txt # create file chmod -w -R src # revoke write permissions...
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...
`-c`, `--confirm`: After the copy operation, stat all the files and report errors if any are missing.
Files starting with dot (.) are not copied Tested in linux
Globs
```js cpr("/path/to/dir/", "/dest/") //-> copies contents of /path/to/dir/ into /dest/ cpr("/path/to/dir/**/*", "/dest/") //-> same as above cpr("/path/**/dir/", "/dest/") //-> same, and possibly more if there're other nested dirs named "dir"...
cp -a
preserve links and attributes Not particularly useful to me, at least right now, but it might be a good goal to reach.
Trying to filter the list of items to not include anything that is hidden ex: ._helloFile or ._helloWorld.jpg Seems to not be working correctly AND the files array that is...