Rclone serve http - hide folder

What is the problem you are having with rclone?

I have 3 folders on my rclone serve http root path, i want to hide one folder from serving.
how to do this?

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.0

  • os/version: ubuntu 18.04 (64 bit)
  • os/kernel: 4.15.0-175-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.8
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

root rclone serve http dropbox:/ \
--addr \
--bind \
--multi-thread-streams=4 \
--vfs-cache-mode full \
--vfs-cache-max-size 300G \
--template /root/index.html \
--log-level ERROR \
--log-file /root/rclone.log

The rclone config contents with secrets removed.

type = dropbox
client_id = REDACTED
client_secret = REDACTED
token = {"access_token":"REDACTED","token_type":"bearer","refresh_token":"REDACTED","expiry":"2022-04-22T00:08:23.259853895-03:00"}

A log from the command with the -vv flag

No need

might try --exclude=/onefolder/**

It worked thank you!

good, can read more about filtering at

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.