Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2749

Subfolders and files are copied to the destination folder but under same origin folder

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      When I run this command within the Forge shell

      cp -r ../../scripts/front/modified src/main/resources/static/
      

      the folder "modified" is also copied to the destination while in fact we want to copy the files and subfolders under the "origin" folder

      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
      ....
      

      Is there a trick to copy all the files + subfolders under the folder "modified" only ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: