Breaking Change on Copy Command
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- cli
Research direction
Start by reproducing shx cp C:\myDirectory\*.scss C:\otherDirectory on version 0.4.0, then compare it with 0.3.4 to identify the change in wildcard handling. Inspect the shx cp command path; done means SCSS files copy successfully on Windows and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Description
Hello
I upgraded shx from version 0.3.4 to 0.4.0. I executed my shx command after the upgrade and an error occured with the following command:
shx cp C:\myDirectory\*.scss C:\otherDirectory
This is the exception:
[shx cp "C:\myDirectory\*.scss" "C:\otherDirectory"](cp: no such file or directory: C:/myDirectory/*.scss)
I think the problem in the command is *.scss. I only want to copy the scss Files in the myDirectory folder.
How can I do that in the current verion? This command worked in the 0.3.4 version.
Regards
Fabio
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 52
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shelljs/shx
-
fix Windows
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
dependencies
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
low priority sed
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
mv fails silently Open
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·