[
https://issues.jboss.org/browse/FORGE-2749?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-2749.
----------------------------------
Resolution: Won't Do
You need to use the following syntax instead:
{{cp -r ../../scripts/front/modified/. src/main/resources/static/}}
(notice the {{/.}} in the end of the source folder)
Subfolders and files are copied to the destination folder but under
same origin folder
--------------------------------------------------------------------------------------
Key: FORGE-2749
URL:
https://issues.jboss.org/browse/FORGE-2749
Project: Forge
Issue Type: Enhancement
Reporter: Charles Moulliard
When I run this command within the Forge shell
{code}
cp -r ../../scripts/front/modified src/main/resources/static/
{code}
the folder "modified" is also copied to the destination while in fact we want
to copy the files and subfolders under the "origin" folder
{code}
demo/cdfront/src/main/resources/static
demo/cdfront/src/main/resources/static/modified
demo/cdfront/src/main/resources/static/modified/app.html
demo/cdfront/src/main/resources/static/modified/fonts
....
{code}
Is there a trick to copy all the files + subfolders under the folder "modified"
only ?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)