rclone/docs/content/commands/rclone_serve.md

46 lines
1.5 KiB
Markdown
Raw Normal View History

2017-12-23 21:07:45 +08:00
---
title: "rclone serve"
description: "Serve a remote over a protocol."
2022-12-21 01:16:14 +08:00
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"
2017-12-23 21:07:45 +08:00
---
# rclone serve
2017-12-23 21:07:45 +08:00
Serve a remote over a protocol.
## Synopsis
2017-12-23 21:07:45 +08:00
2022-07-10 01:08:20 +08:00
Serve a remote over a given protocol. 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]
```
## Options
2017-12-23 21:07:45 +08:00
```
-h, --help help for serve
```
See the [global flags page](/flags/) for global options not listed here.
2024-09-08 23:21:56 +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
* [rclone serve docker](/commands/rclone_serve_docker/) - Serve any remote on docker's volume plugin API.
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.
2023-11-26 23:59:12 +08:00
* [rclone serve nfs](/commands/rclone_serve_nfs/) - Serve the remote as an NFS mount
2018-03-19 18:06:13 +08:00
* [rclone serve restic](/commands/rclone_serve_restic/) - Serve the remote for restic's REST API.
2023-11-26 23:59:12 +08:00
* [rclone serve s3](/commands/rclone_serve_s3/) - Serve remote:path over s3.
* [rclone serve sftp](/commands/rclone_serve_sftp/) - Serve the remote over SFTP.
2022-07-10 01:08:20 +08:00
* [rclone serve webdav](/commands/rclone_serve_webdav/) - Serve remote:path over WebDAV.
2017-12-23 21:07:45 +08:00