Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] fs.copy don't work really like 'cp -r' #443

Closed
bySabi opened this issue Jun 19, 2017 · 1 comment
Closed

[feature request] fs.copy don't work really like 'cp -r' #443

bySabi opened this issue Jun 19, 2017 · 1 comment

Comments

@bySabi
Copy link

bySabi commented Jun 19, 2017

on shell terminals:
cp -r foder1 dest will create dest\folder1

but with fs.copy('folder1', 'dest') only folder1 content is copy to dest

Will be really useful add a option for include folder1 on copy. Maybe
{ src: true } or { parent: true } or { includeParent: true } ..

@RyanZim
Copy link
Collaborator

RyanZim commented Jun 19, 2017

Basically a dupe of #323; same logic applies here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants