Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Upload a folder content to root directory

    Surfer
    2
    3
    213
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      senthilkumaran last edited by

      I have my html files in a docs directory
      I want to put the contents of my docs directory to /

      surfer put docs/. /
      

      Ends up creating /docs

      cd docs
      surfer put . /
      

      Still ends up creating /docs

      Uploading one file at a time, and then sub-directories inside docs works, but it is not efficient for me as I add more files and sub-directories to docs folder.

      How do I solve this problem? I want to put the contents of my docs directory to /

      1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by

        try using * instead of .

        Life of Advanced Technology

        S 1 Reply Last reply Reply Quote 2
        • S
          senthilkumaran @robi last edited by

          @robi said in Upload a folder content to root directory:

          try using * instead of .

          Yes, this worked. Thank you.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB