-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot simply copy an entire folder #10
Comments
See: sindresorhus/cpy#10 |
I've tried the following based on the discussion, that you've linked:
In every case I've got an error saying: |
Tried adding the --recursive after the folders and I've got the same EISDIR error, that MoOx mentioned. |
https://www.npmjs.com/package/ncp solved the issue for me. |
There's no |
@kevva Yup, found that out eventually. Since I'm calling |
same here, |
|
...except the |
Ah, so this is already discussed here: ...and I see that there is a pending Pull Request to leverage the existing |
Did anyone ever found the solution to this? I need to make I tried this "scripts": {
"postbuild": "cpy --recursive 'manifest.json' 'icons/**' 'dist'"
} But it copies contents of
But I want to copy the whole folder into
Any solutions? |
@IssueHunt has funded $80.00 to this issue.
|
@sindresorhus How would you feel about adding an |
@Rowno Sure, if that resolves all the issues mentioned in this thread. |
I have started working on fixing this issue by using the previous solution. Let me know if you have any additional tips. |
I am getting errors for all folder with this command
I tried
but same result.
I understand why there is an error, but it's pretty weird to not be able to ignore folder, I would have make this the default behavior.
IssueHunt Summary
Backers (Total: $80.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips
The text was updated successfully, but these errors were encountered: