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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Surfer
  3. Upload a folder content to root directory

Upload a folder content to root directory

Scheduled Pinned Locked Moved Solved Surfer
3 Posts 2 Posters 720 Views 2 Watching
  • 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 Offline
    S Offline
    senthilkumaran
    wrote on last edited by
    #1

    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 /

    --
    Senthil

    1 Reply Last reply
    0
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      try using * instead of .

      Conscious tech

      S 1 Reply Last reply
      2
      • robiR robi

        try using * instead of .

        S Offline
        S Offline
        senthilkumaran
        wrote on last edited by
        #3

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

        try using * instead of .

        Yes, this worked. Thank you.

        --
        Senthil

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search