2020-05-16 22:11:55 +08:00
|
|
|
---
|
|
|
|
title: "rclone backend"
|
2022-03-18 20:29:54 +08:00
|
|
|
description: "Run a backend-specific command."
|
2022-12-21 01:16:14 +08:00
|
|
|
versionIntroduced: v1.52
|
2020-05-16 22:11:55 +08:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/backend/ and as part of making a release run "make commanddocs"
|
|
|
|
---
|
2020-05-22 18:17:37 +08:00
|
|
|
# rclone backend
|
2020-05-16 22:11:55 +08:00
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
Run a backend-specific command.
|
2020-05-16 22:11:55 +08:00
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Synopsis
|
2020-05-16 22:11:55 +08:00
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
This runs a backend-specific command. The commands themselves (except
|
2020-05-16 22:11:55 +08:00
|
|
|
for "help" and "features") are defined by the backends and you should
|
|
|
|
see the backend docs for definitions.
|
|
|
|
|
|
|
|
You can discover what commands a backend implements by using
|
|
|
|
|
|
|
|
rclone backend help remote:
|
|
|
|
rclone backend help <backendname>
|
|
|
|
|
|
|
|
You can also discover information about the backend using (see
|
2022-03-18 20:29:54 +08:00
|
|
|
[operations/fsinfo](/rc/#operations-fsinfo) in the remote control docs
|
2020-05-16 22:11:55 +08:00
|
|
|
for more info).
|
|
|
|
|
|
|
|
rclone backend features remote:
|
|
|
|
|
2021-02-02 21:42:35 +08:00
|
|
|
Pass options to the backend command with -o. This should be key=value or key, e.g.:
|
2020-05-16 22:11:55 +08:00
|
|
|
|
|
|
|
rclone backend stats remote:path stats -o format=json -o long
|
|
|
|
|
|
|
|
Pass arguments to the backend by placing them on the end of the line
|
|
|
|
|
|
|
|
rclone backend cleanup remote:path file1 file2 file3
|
|
|
|
|
|
|
|
Note to run these commands on a running backend then see
|
2022-03-18 20:29:54 +08:00
|
|
|
[backend/command](/rc/#backend-command) in the rc docs.
|
2020-05-16 22:11:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
rclone backend <command> remote:path [opts] <args> [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Options
|
2020-05-16 22:11:55 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for backend
|
2021-11-01 23:42:05 +08:00
|
|
|
--json Always output in JSON format
|
|
|
|
-o, --option stringArray Option in the form name=value or name
|
2020-05-16 22:11:55 +08:00
|
|
|
```
|
|
|
|
|
2024-09-08 23:21:56 +08:00
|
|
|
Options shared with other commands are described next.
|
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
2023-08-02 17:02:38 +08:00
|
|
|
|
2024-09-08 23:21:56 +08:00
|
|
|
### Important Options
|
2023-08-02 17:02:38 +08:00
|
|
|
|
2024-09-08 23:21:56 +08:00
|
|
|
Important flags useful for most commands
|
2023-08-02 17:02:38 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
-n, --dry-run Do a trial run with no permanent changes
|
|
|
|
-i, --interactive Enable interactive mode
|
|
|
|
-v, --verbose count Print lots more stuff (repeat for more)
|
|
|
|
```
|
|
|
|
|
2024-09-08 23:21:56 +08:00
|
|
|
## See Also
|
2020-05-16 22:11:55 +08:00
|
|
|
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|
|
|