KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to copy text files and only text files from src/ to dst/ groovy:000> "cp src/*.txt dst/".execute().text ===> groovy:000> You can see the command executes w/out error but the file src/test.txt does not get copied to dst/ This also fails: groovy:000> "cp src/* dst/".execute().text ===> groovy:000> However... "cp src/this.txt dst/".execute().text works Also, "cp -R src/ dst".execute().text works Why dose the wild card seem to cause my command to silently fail?
Tags (comma-separated)
Save Edits
Cancel