Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

1.9 KB
Raw Blame

title: "rclone serve" description: "Serve a remote over a protocol." versionIntroduced: v1.39

autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/ and as part of making a release run "make commanddocs"


rclone serve

Serve a remote over a protocol.

Synopsis

Serve a remote over a given protocol. Requires the use of a subcommand to specify the protocol, e.g.

rclone serve http remote:

When the "--metadata" flag is enabled, the following metadata fields will be provided as headers:

  • "content-disposition"
  • "cache-control"
  • "content-language"
  • "content-encoding" Note: The availability of these fields depends on whether the remote supports metadata.

Each subcommand has its own options which you can see in their help.

rclone serve <protocol> [opts] <remote> [flags]

Options

  -h, --help   help for serve

See the global flags page for global options not listed here.

See Also