Cannot simply copy an entire folder
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:16 (3 by maintainers)
Top Results From Across the Web
How to copy an entire folder structure without copying the files ...
Now open a Windows command window and run the following command. It's the /T option that copies just the folder structure not the...
Read more >Why the hell can't you copy folders in Google Drive?
Give it a try yourself. Open up Google Drive and right click on a folder. In that menu, you'd expect to see something...
Read more >Folder contents failing to copy - Microsoft Community
Having recently updated to Windows Pro 8,1, I find that when I copy a folder to a network drive , the contents do...
Read more >[How to Fix] Google Drive Can't Make a Copy - MultCloud
Before copying, you need to make sure that your copying object is a file instead of a folder, because Google Drive does not...
Read more >I cannot copy individual files to the root c: directory
That also was a "feature" in Win10, not many files can be put in the root of C: or the Boot/System drive if...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.