cpy-cli: Cannot simply copy an entire folder
I am getting errors for all folder with this command
cpy test/dist somewhere
Cannot glob `test/dist/folder, test/dist/folder-2`: EISDIR: illegal operation on a directory, read
I tried
cpy test/dist/**/* somewhere
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)
issuehunt ($80.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 8
- Comments: 16 (3 by maintainers)
@sindresorhus How would you feel about adding an
--up
flag like the copyfiles package has? This could then be combined with the--parents
flag. If it sounds good to you I might implement it.@Rowno Sure, if that resolves all the issues mentioned in this thread.