2017-12-23 21:07:45 +08:00
|
|
|
---
|
|
|
|
title: "rclone serve"
|
2020-05-16 22:11:55 +08:00
|
|
|
description: "Serve a remote over a protocol."
|
2017-12-23 21:07:45 +08:00
|
|
|
slug: rclone_serve
|
|
|
|
url: /commands/rclone_serve/
|
2020-02-10 20:31:45 +08:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/ and as part of making a release run "make commanddocs"
|
2017-12-23 21:07:45 +08:00
|
|
|
---
|
2020-05-22 18:17:37 +08:00
|
|
|
# rclone serve
|
2017-12-23 21:07:45 +08:00
|
|
|
|
|
|
|
Serve a remote over a protocol.
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Synopsis
|
2017-12-23 21:07:45 +08:00
|
|
|
|
|
|
|
rclone serve is used to serve a remote over a given protocol. This
|
2021-02-02 21:42:35 +08:00
|
|
|
command requires the use of a subcommand to specify the protocol, e.g.
|
2017-12-23 21:07:45 +08:00
|
|
|
|
|
|
|
rclone serve http remote:
|
|
|
|
|
|
|
|
Each subcommand has its own options which you can see in their help.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
rclone serve <protocol> [opts] <remote> [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Options
|
2017-12-23 21:07:45 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for serve
|
|
|
|
```
|
|
|
|
|
2019-06-20 23:18:02 +08:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## SEE ALSO
|
2018-03-19 18:06:13 +08:00
|
|
|
|
2018-10-15 18:03:08 +08:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2019-02-09 18:42:57 +08:00
|
|
|
* [rclone serve dlna](/commands/rclone_serve_dlna/) - Serve remote:path over DLNA
|
2018-10-15 18:03:08 +08:00
|
|
|
* [rclone serve ftp](/commands/rclone_serve_ftp/) - Serve remote:path over FTP.
|
2017-12-23 21:07:45 +08:00
|
|
|
* [rclone serve http](/commands/rclone_serve_http/) - Serve the remote over HTTP.
|
2018-03-19 18:06:13 +08:00
|
|
|
* [rclone serve restic](/commands/rclone_serve_restic/) - Serve the remote for restic's REST API.
|
2019-05-11 06:18:45 +08:00
|
|
|
* [rclone serve sftp](/commands/rclone_serve_sftp/) - Serve the remote over SFTP.
|
2017-12-23 21:07:45 +08:00
|
|
|
* [rclone serve webdav](/commands/rclone_serve_webdav/) - Serve remote:path over webdav.
|
|
|
|
|